From 1c8dd7bfe17772a583d3ae2395b70b8b3bced9ad Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Tue, 25 May 2010 09:42:04 +0200 Subject: [PATCH] Py3 test fix --- tests/run/closure_tests_3.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run/closure_tests_3.pyx b/tests/run/closure_tests_3.pyx index 0279691d..4babb992 100644 --- a/tests/run/closure_tests_3.pyx +++ b/tests/run/closure_tests_3.pyx @@ -466,7 +466,7 @@ def g1769(): return g1767 f_1299 = g1768() def g1766(): - return callable(f_1299) + return hasattr(f_1299, '__call__') if (g1766()): return True else: -- 2.26.2