(self)
| 133 | self.check_lnotab(f) |
| 134 | |
| 135 | def test_while_one(self): |
| 136 | # Skip over: LOAD_CONST trueconst POP_JUMP_IF_FALSE xx |
| 137 | def f(): |
| 138 | while 1: |
| 139 | pass |
| 140 | return list |
| 141 | for elem in ('LOAD_CONST', 'POP_JUMP_IF_FALSE'): |
| 142 | self.assertNotInBytecode(f, elem) |
| 143 | for elem in ('JUMP_BACKWARD',): |
| 144 | self.assertInBytecode(f, elem) |
| 145 | self.check_lnotab(f) |
| 146 | |
| 147 | @unittest.expectedFailure # TODO: RUSTPYTHON |
| 148 | def test_pack_unpack(self): |
nothing calls this directly
no test coverage detected