From: Stefan Behnel Date: Tue, 25 May 2010 07:42:04 +0000 (+0200) Subject: Py3 test fix X-Git-Tag: 0.13.beta0~2^2~48 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=1c8dd7bfe17772a583d3ae2395b70b8b3bced9ad;p=cython.git Py3 test fix --- 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: