summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_dis.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2013-09-29 14:53:49 (GMT)
committerBenjamin Peterson <benjamin@python.org>2013-09-29 14:53:49 (GMT)
commit52010b40f615671e2b2f5e1eb6af6cb0d6684808 (patch)
tree10fcb13370becf8e545a7e6b96e30da622d27464 /Lib/test/test_dis.py
parentf8ab76039bac5ba46cfe159ffdd33a2e49ee24f3 (diff)
downloadcpython-52010b40f615671e2b2f5e1eb6af6cb0d6684808.zip
cpython-52010b40f615671e2b2f5e1eb6af6cb0d6684808.tar.gz
cpython-52010b40f615671e2b2f5e1eb6af6cb0d6684808.tar.bz2
fix duplicate test names in test_dis (closes #19117)
Diffstat (limited to 'Lib/test/test_dis.py')
-rw-r--r--Lib/test/test_dis.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/test/test_dis.py b/Lib/test/test_dis.py
index 1bcd693..d1355bb 100644
--- a/Lib/test/test_dis.py
+++ b/Lib/test/test_dis.py
@@ -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