From 8f1fea50617766f79171102dd68449692d98fc1f Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Wed, 5 Dec 2007 12:45:11 +0000 Subject: Fixed error in regrtest. I must have missed the spot. --- Lib/test/regrtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index b876bd7..067d6a2 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -661,7 +661,7 @@ def dash_R(the_module, test, indirect_test, huntrleaks): pic = sys.path_importer_cache.copy() abcs = {} for abc in [getattr(_abcoll, a) for a in _abcoll.__all__]: - if not isinstance(abc, _Abstract): + if not issubclass(abc, _Abstract): continue for obj in abc.__subclasses__() + [abc]: abcs[obj] = obj._abc_registry.copy() -- cgit v0.12