fix duplicate test names in test_dis (closes #19117)
This commit is contained in:
parent
f8ab76039b
commit
52010b40f6
|
@ -245,7 +245,6 @@ class DisTests(unittest.TestCase):
|
|||
expected = _BIG_LINENO_FORMAT % (i + 2)
|
||||
self.do_disassembly_test(func(i), expected)
|
||||
|
||||
def test_big_linenos(self):
|
||||
from test import dis_module
|
||||
self.do_disassembly_test(dis_module, dis_module_expected_results)
|
||||
|
||||
|
@ -271,9 +270,6 @@ class DisTests(unittest.TestCase):
|
|||
pass
|
||||
self.assertRaises(RuntimeError, dis.dis, None)
|
||||
|
||||
def test_dis_object(self):
|
||||
self.assertRaises(TypeError, dis.dis, object())
|
||||
|
||||
def test_dis_traceback(self):
|
||||
try:
|
||||
del sys.last_traceback
|
||||
|
|
Loading…
Reference in New Issue