[Python-checkins] cpython (3.3): fix duplicate test names in test_dis (closes #19117)

benjamin.peterson python-checkins at python.org
Sun Sep 29 16:58:46 CEST 2013


http://hg.python.org/cpython/rev/9922b2cda52c
changeset:   85839:9922b2cda52c
branch:      3.3
parent:      85837:9b3088bc24f1
user:        Benjamin Peterson <benjamin at python.org>
date:        Sun Sep 29 10:53:49 2013 -0400
summary:
  fix duplicate test names in test_dis (closes #19117)

files:
  Lib/test/test_dis.py |  4 ----
  1 files changed, 0 insertions(+), 4 deletions(-)


diff --git a/Lib/test/test_dis.py b/Lib/test/test_dis.py
--- a/Lib/test/test_dis.py
+++ b/Lib/test/test_dis.py
@@ -245,7 +245,6 @@
             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 @@
             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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list