Commit fd5d81a4 authored by Benjamin Peterson's avatar Benjamin Peterson

fix duplicate test names in test_dis (closes #19117)

parent da9d6df2
...@@ -245,7 +245,6 @@ class DisTests(unittest.TestCase): ...@@ -245,7 +245,6 @@ class DisTests(unittest.TestCase):
expected = _BIG_LINENO_FORMAT % (i + 2) expected = _BIG_LINENO_FORMAT % (i + 2)
self.do_disassembly_test(func(i), expected) self.do_disassembly_test(func(i), expected)
def test_big_linenos(self):
from test import dis_module from test import dis_module
self.do_disassembly_test(dis_module, dis_module_expected_results) self.do_disassembly_test(dis_module, dis_module_expected_results)
...@@ -271,9 +270,6 @@ class DisTests(unittest.TestCase): ...@@ -271,9 +270,6 @@ class DisTests(unittest.TestCase):
pass pass
self.assertRaises(RuntimeError, dis.dis, None) self.assertRaises(RuntimeError, dis.dis, None)
def test_dis_object(self):
self.assertRaises(TypeError, dis.dis, object())
def test_dis_traceback(self): def test_dis_traceback(self):
try: try:
del sys.last_traceback del sys.last_traceback
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment