diff options
Diffstat (limited to 'Lib/test/test_codeop.py')
-rw-r--r-- | Lib/test/test_codeop.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_codeop.py b/Lib/test/test_codeop.py index 38a192b..b3fd18a 100644 --- a/Lib/test/test_codeop.py +++ b/Lib/test/test_codeop.py @@ -13,8 +13,8 @@ if is_jython: def unify_callables(d): for n,v in d.items(): - if callable(v): - d[n] = callable + if hasattr(v, '__call__'): + d[n] = True return d class CodeopTests(unittest.TestCase): |