From 478299d0c3024073bcadb4f36b47917c116a5ba3 Mon Sep 17 00:00:00 2001 From: Michael Trier Date: Fri, 30 Jan 2009 05:04:59 +0000 Subject: [PATCH] Get the callable import right. --- test/testlib/compat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testlib/compat.py b/test/testlib/compat.py index ae27e6c355..c366817645 100644 --- a/test/testlib/compat.py +++ b/test/testlib/compat.py @@ -13,7 +13,7 @@ def _function_named(fn, newname): return fn try: - import callable + from __builtin__ import callable except ImportError: callable = lambda x: hasattr(x, '__call__') -- 2.47.3