Fixed error in regrtest. I must have missed the spot.

This commit is contained in:
Christian Heimes 2007-12-05 12:45:11 +00:00
parent 76fa9c0e9d
commit 8f1fea5061
1 changed files with 1 additions and 1 deletions

View File

@ -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()