workaround for missing 'assert_called_once' method

this method was introduced in Python 3.6, but calling it still
works (i.e. it doesn't cause the test to fail) on Python 3.3/3.4
This commit is contained in:
Mike Fährmann
2017-07-26 10:33:15 +02:00
parent 7aa9fa796a
commit 493bd235cf
3 changed files with 3 additions and 3 deletions

View File

@@ -58,7 +58,7 @@ skip = [
"exhentai", "kissmanga", "mangafox", "dynastyscans", "nijie",
"archivedmoe", "archiveofsins", "thebarchive",
# temporary issues
"twitter",
]
# enable selective testing for direct calls
if __name__ == '__main__' and len(sys.argv) > 1: