Skip to content

Commit a406f9b

Browse files
authored
Merge pull request pytest-dev#31 from kammala/patch-1
fixed database swapping for manager
2 parents ddb55e9 + 0ea439c commit a406f9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

peewee_async.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ def _swap_database(self, query):
377377
def _subclassed(base, *classes):
378378
"""Check if all classes are subclassed from base.
379379
"""
380-
return all(map(lambda obj, base: isinstance(obj, base), classes))
380+
return all(map(lambda obj: isinstance(obj, base), classes))
381381

382382
@staticmethod
383383
def _prune_fields(field_dict, only):

0 commit comments

Comments
 (0)