We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
test_typing.NewTypeTests
1 parent aa5b762 commit 9d35a71Copy full SHA for 9d35a71
Lib/test/test_typing.py
@@ -6893,10 +6893,6 @@ def test_c_functions(self):
6893
6894
6895
class NewTypeTests(BaseTestCase):
6896
- def cleanup(self):
6897
- for f in typing._cleanups:
6898
- f()
6899
-
6900
@classmethod
6901
def setUpClass(cls):
6902
global UserId
@@ -6909,9 +6905,6 @@ def tearDownClass(cls):
6909
6905
del UserId
6910
6906
del cls.UserName
6911
6907
6912
- def tearDown(self):
6913
- self.cleanup()
6914
6915
6908
def test_basic(self):
6916
self.assertIsInstance(UserId(5), int)
6917
self.assertIsInstance(self.UserName('Joe'), str)
0 commit comments