From 14441ff0524064a05ba2d05c80f82b6ba12edf7b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 12 Jul 2013 16:01:16 +0530 Subject: [PATCH] ... --- src/calibre/db/tests/legacy.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/calibre/db/tests/legacy.py b/src/calibre/db/tests/legacy.py index 96fc98d5be..5df09ec065 100644 --- a/src/calibre/db/tests/legacy.py +++ b/src/calibre/db/tests/legacy.py @@ -32,6 +32,8 @@ class ET(object): return newres def compare_argspecs(old, new, attr): + # We dont compare the names of the non-keyword arguments as they are often + # different and they dont affect the usage of the API. num = len(old.defaults or ()) ok = len(old.args) == len(new.args) and old.defaults == new.defaults and (num == 0 or old.args[-num:] == new.args[-num:])