]> granicus.if.org Git - python/commitdiff
Fixed error in regrtest. I must have missed the spot.
authorChristian Heimes <christian@cheimes.de>
Wed, 5 Dec 2007 12:45:11 +0000 (12:45 +0000)
committerChristian Heimes <christian@cheimes.de>
Wed, 5 Dec 2007 12:45:11 +0000 (12:45 +0000)
Lib/test/regrtest.py

index b876bd7256d86bf9bb3794e83c559342d08abd8f..067d6a22bdbf678bf8cee9e3e7b47da68ff2619d 100755 (executable)
@@ -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()