commit | 8f1fea50617766f79171102dd68449692d98fc1f | [log] [tgz] |
---|---|---|
author | Christian Heimes <christian@cheimes.de> | Wed Dec 05 12:45:11 2007 +0000 |
committer | Christian Heimes <christian@cheimes.de> | Wed Dec 05 12:45:11 2007 +0000 |
tree | 7cddce197baa3e4eab166237400f5774d674a32f | |
parent | 76fa9c0e9d34b7580e0b4bae900f11c95f2056ab [diff] [blame] |
Fixed error in regrtest. I must have missed the spot.
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 @@ 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()