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)
|
||||
if attr not in SKIP_ARGSPEC:
|
||||
try:
|
||||
argspec = inspect.getargspec(obj)
|
||||
nargspec = inspect.getargspec(nobj)
|
||||
argspec = inspect.getfullargspec(obj)
|
||||
nargspec = inspect.getfullargspec(nobj)
|
||||
except (TypeError, ValueError):
|
||||
pass
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user