Kaydet (Commit) 8f1fea50 authored tarafından Christian Heimes's avatar Christian Heimes

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

üst 76fa9c0e
...@@ -661,7 +661,7 @@ def dash_R(the_module, test, indirect_test, huntrleaks): ...@@ -661,7 +661,7 @@ def dash_R(the_module, test, indirect_test, huntrleaks):
pic = sys.path_importer_cache.copy() pic = sys.path_importer_cache.copy()
abcs = {} abcs = {}
for abc in [getattr(_abcoll, a) for a in _abcoll.__all__]: for abc in [getattr(_abcoll, a) for a in _abcoll.__all__]:
if not isinstance(abc, _Abstract): if not issubclass(abc, _Abstract):
continue continue
for obj in abc.__subclasses__() + [abc]: for obj in abc.__subclasses__() + [abc]:
abcs[obj] = obj._abc_registry.copy() abcs[obj] = obj._abc_registry.copy()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment