diff options
Diffstat (limited to 'Lib/test/test_dis.py')
| -rw-r--r-- | Lib/test/test_dis.py | 2 |
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): |
