[Python-checkins] r59348 - python/trunk/Lib/test/regrtest.py

christian.heimes python-checkins at python.org
Wed Dec 5 13:45:11 CET 2007


Author: christian.heimes
Date: Wed Dec  5 13:45:11 2007
New Revision: 59348

Modified:
   python/trunk/Lib/test/regrtest.py
Log:
Fixed error in regrtest. I must have missed the spot.

Modified: python/trunk/Lib/test/regrtest.py
==============================================================================
--- python/trunk/Lib/test/regrtest.py	(original)
+++ python/trunk/Lib/test/regrtest.py	Wed Dec  5 13:45:11 2007
@@ -661,7 +661,7 @@
     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()


More information about the Python-checkins mailing list