Skip to content

Commit

Permalink
gh-105431: Remove unused stuff from test_typing.NewTypeTests
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Jun 7, 2023
1 parent 27c68a6 commit e444cfc
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Lib/test/test_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -6828,10 +6828,6 @@ def test_c_functions(self):


class NewTypeTests(BaseTestCase):
def cleanup(self):
for f in typing._cleanups:
f()

@classmethod
def setUpClass(cls):
global UserId
Expand All @@ -6844,9 +6840,6 @@ def tearDownClass(cls):
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)
Expand Down

0 comments on commit e444cfc

Please sign in to comment.