MCPcopy Index your code
hub / github.com/python/cpython / test_bug_1333982

Method test_bug_1333982

Lib/test/test_dis.py:1139–1145  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1137 self.do_disassembly_test(bug708901, dis_bug708901)
1138
1139 def test_bug_1333982(self):
1140 # This one is checking bytecodes generated for an `assert` statement,
1141 # so fails if the tests are run with -O. Skip this test then.
1142 if not __debug__:
1143 self.skipTest('need asserts, run without -O')
1144
1145 self.do_disassembly_test(bug1333982, dis_bug1333982)
1146
1147 def test_bug_42562(self):
1148 self.do_disassembly_test(bug42562, dis_bug42562)

Callers

nothing calls this directly

Calls 2

do_disassembly_testMethod · 0.95
skipTestMethod · 0.80

Tested by

no test coverage detected