From: Christian Heimes Date: Wed, 5 Dec 2007 12:45:11 +0000 (+0000) Subject: Fixed error in regrtest. I must have missed the spot. X-Git-Tag: v2.6a1~933 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8f1fea50617766f79171102dd68449692d98fc1f;p=python Fixed error in regrtest. I must have missed the spot. --- diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index b876bd7256..067d6a22bd 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()