summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2023-06-08 06:30:42 (GMT)
committerGitHub <noreply@github.com>2023-06-08 06:30:42 (GMT)
commit9d35a71a76cb033598ce136ea655d9e452fe3af0 (patch)
tree4f39be7e29fd91c6cc122329961b52030c24bd8c /Lib
parentaa5b762bd3a3e837678cf7f9e1434c0f68208a0e (diff)
downloadcpython-9d35a71a76cb033598ce136ea655d9e452fe3af0.zip
cpython-9d35a71a76cb033598ce136ea655d9e452fe3af0.tar.gz
cpython-9d35a71a76cb033598ce136ea655d9e452fe3af0.tar.bz2
gh-105431: Remove unused stuff from `test_typing.NewTypeTests` (#105432)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_typing.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py
index dcbe310..432fc88 100644
--- a/Lib/test/test_typing.py
+++ b/Lib/test/test_typing.py
@@ -6893,10 +6893,6 @@ class TestModules(TestCase):
class NewTypeTests(BaseTestCase):
- def cleanup(self):
- for f in typing._cleanups:
- f()
-
@classmethod
def setUpClass(cls):
global UserId
@@ -6909,9 +6905,6 @@ class NewTypeTests(BaseTestCase):
del UserId
del cls.UserName
- def tearDown(self):
- self.cleanup()
-
def test_basic(self):
self.assertIsInstance(UserId(5), int)
self.assertIsInstance(self.UserName('Joe'), str)