mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
More deprecation warnings in test suite
This commit is contained in:
parent
c21a482080
commit
785d74bda4
@ -478,8 +478,8 @@ class LegacyTest(BaseTest):
|
|||||||
obj, nobj = getattr(db, attr), getattr(ndb, attr)
|
obj, nobj = getattr(db, attr), getattr(ndb, attr)
|
||||||
if attr not in SKIP_ARGSPEC:
|
if attr not in SKIP_ARGSPEC:
|
||||||
try:
|
try:
|
||||||
argspec = inspect.getargspec(obj)
|
argspec = inspect.getfullargspec(obj)
|
||||||
nargspec = inspect.getargspec(nobj)
|
nargspec = inspect.getfullargspec(nobj)
|
||||||
except (TypeError, ValueError):
|
except (TypeError, ValueError):
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user