Update sure to 2.x (#4357)
This commit is contained in:
parent
2db85d0e54
commit
31866fb5bd
@ -128,6 +128,8 @@ class BaseMockAWS:
|
||||
attr_value = getattr(klass, attr)
|
||||
if not hasattr(attr_value, "__call__"):
|
||||
continue
|
||||
if not hasattr(attr_value, "__name__"):
|
||||
continue
|
||||
|
||||
# Check if this is a classmethod. If so, skip patching
|
||||
if inspect.ismethod(attr_value) and attr_value.__self__ is klass:
|
||||
|
@ -1,5 +1,5 @@
|
||||
pytest
|
||||
pytest-cov
|
||||
sure==1.4.11
|
||||
sure
|
||||
freezegun
|
||||
pylint
|
||||
|
Loading…
Reference in New Issue
Block a user