diff options
author | Ivan Levkivskyi <levkivskyi@gmail.com> | 2018-02-18 17:39:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-18 17:39:43 (GMT) |
commit | 38928992885d8a04b7188abdba3b04f350bde32d (patch) | |
tree | 0c00735c049a3891cce7529dfacef4c28ade1129 /Lib/test/test_typing.py | |
parent | 7da582d3b5c798e47f836efaef0157195c17efb8 (diff) | |
download | cpython-38928992885d8a04b7188abdba3b04f350bde32d.zip cpython-38928992885d8a04b7188abdba3b04f350bde32d.tar.gz cpython-38928992885d8a04b7188abdba3b04f350bde32d.tar.bz2 |
bpo-31333: Re-implement ABCMeta in C (GH-5733)
This adds C versions of methods used by ABCMeta that
improve performance of various ABC operations.
Diffstat (limited to 'Lib/test/test_typing.py')
-rw-r--r-- | Lib/test/test_typing.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py index 3f24faf..f56caa1 100644 --- a/Lib/test/test_typing.py +++ b/Lib/test/test_typing.py @@ -761,8 +761,8 @@ class GenericTests(BaseTestCase): self.assertIsInstance(1, C) C[int] self.assertIsInstance(1, C) - C._abc_registry.clear() - C._abc_cache.clear() # To keep refleak hunting mode clean + C._abc_registry_clear() + C._abc_caches_clear() # To keep refleak hunting mode clean def test_false_subclasses(self): class MyMapping(MutableMapping[str, str]): pass |