diff options
Diffstat (limited to 'Lib/test/support/bytecode_helper.py')
-rw-r--r-- | Lib/test/support/bytecode_helper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/support/bytecode_helper.py b/Lib/test/support/bytecode_helper.py index 190fe87..1d9b889 100644 --- a/Lib/test/support/bytecode_helper.py +++ b/Lib/test/support/bytecode_helper.py @@ -125,7 +125,7 @@ class CfgOptimizationTestCase(CompilationStepTestCase): assert isinstance(item, tuple) inst = list(reversed(item)) opcode = dis.opmap[inst.pop()] - oparg = inst.pop() if opcode in self.HAS_ARG_OR_TARGET else 0 + oparg = inst.pop() loc = inst + [-1] * (4 - len(inst)) res.append((opcode, oparg, *loc)) return res |