mirror of
https://github.com/python/cpython.git
synced 2026-01-05 23:12:38 +00:00
gh-105431: Remove unused stuff from test_typing.NewTypeTests (#105432)
This commit is contained in:
parent
aa5b762bd3
commit
9d35a71a76
1 changed files with 0 additions and 7 deletions
|
|
@ -6893,10 +6893,6 @@ def test_c_functions(self):
|
|||
|
||||
|
||||
class NewTypeTests(BaseTestCase):
|
||||
def cleanup(self):
|
||||
for f in typing._cleanups:
|
||||
f()
|
||||
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
global UserId
|
||||
|
|
@ -6909,9 +6905,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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue