Use call_count instead of assert_called()

because later was introduced in python 3.6.
This commit is contained in:
Felix committed 2018-12-23 23:46:33 +01:00
1 parent 1c28412ebd
commit 5be5e3f769
2 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ class Cache(dict):
def save(self):
with open(self.filename, 'wb') as f:
pickle.dump(self, f, protocol=pickle.HIGHEST_PROTOCOL)
pickle.dump(self, f, protocol=2)
def md5(self, app_name, migration):
path = compose_migration_path(self.django_folder, app_name, migration)