diff --git a/Lib/test/test_importlib/test_abc.py b/Lib/test/test_importlib/test_abc.py index 479039055ca75f..1a77773255165b 100644 --- a/Lib/test/test_importlib/test_abc.py +++ b/Lib/test/test_importlib/test_abc.py @@ -920,14 +920,17 @@ class DeprecatedAttrsTests: def test_deprecated_attr_ResourceReader(self): with self.assertWarns(DeprecationWarning): self.abc.ResourceReader + del self.abc.ResourceReader def test_deprecated_attr_Traversable(self): with self.assertWarns(DeprecationWarning): self.abc.Traversable + del self.abc.Traversable def test_deprecated_attr_TraversableResources(self): with self.assertWarns(DeprecationWarning): self.abc.TraversableResources + del self.abc.TraversableResources (Frozen_DeprecatedAttrsTests,