summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_dis.py
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2013-12-10 20:09:20 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2013-12-10 20:09:20 (GMT)
commit1f70221b861a3714735251d57695b2f472d0599b (patch)
tree945cd43b04b6351e71c23aa0cb19f6fab1f3ddda /Lib/test/test_dis.py
parent284164b47638e4e71a933ce136a33fdd352f7bac (diff)
downloadcpython-1f70221b861a3714735251d57695b2f472d0599b.zip
cpython-1f70221b861a3714735251d57695b2f472d0599b.tar.gz
cpython-1f70221b861a3714735251d57695b2f472d0599b.tar.bz2
Issue #19572: More silently skipped tests explicitly skipped.
Diffstat (limited to 'Lib/test/test_dis.py')
-rw-r--r--Lib/test/test_dis.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_dis.py b/Lib/test/test_dis.py
index 6ce4b79..da5ba4b 100644
--- a/Lib/test/test_dis.py
+++ b/Lib/test/test_dis.py
@@ -125,6 +125,8 @@ class DisTests(unittest.TestCase):
# so fails if the tests are run with -O. Skip this test then.
if __debug__:
self.do_disassembly_test(bug1333982, dis_bug1333982)
+ else:
+ self.skipTest('need asserts, run without -O')
def test_big_linenos(self):
def func(count):