From 785d74bda458455f7368c94b71c74ae1153c42a1 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 24 Jun 2021 09:25:53 +0530 Subject: [PATCH] More deprecation warnings in test suite --- src/calibre/db/tests/legacy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/db/tests/legacy.py b/src/calibre/db/tests/legacy.py index af95b0ea76..de342301a5 100644 --- a/src/calibre/db/tests/legacy.py +++ b/src/calibre/db/tests/legacy.py @@ -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: