Use call_count instead of assert_called()
because later was introduced in python 3.6.
This commit is contained in:
2 files changed
+6
-6
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user