We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1addde0 commit d074832Copy full SHA for d074832
Lib/test/test_dis.py
@@ -1210,8 +1210,13 @@ def test_loop_quicken(self):
1210
got = self.get_disassembly(loop_test, adaptive=True)
1211
expected = dis_loop_test_quickened_code
1212
if _testinternalcapi.get_optimizer():
1213
- # We *may* see ENTER_EXECUTOR in the disassembly
1214
- got = got.replace("ENTER_EXECUTOR", "JUMP_BACKWARD ")
+ # We *may* see ENTER_EXECUTOR in the disassembly. This is a
+ # temporary hack to keep the test working until dis is able to
1215
+ # handle the instruction correctly (GH-112383):
1216
+ got = got.replace(
1217
+ "ENTER_EXECUTOR 16",
1218
+ "JUMP_BACKWARD 16 (to L1)",
1219
+ )
1220
self.do_disassembly_compare(got, expected)
1221
1222
@cpython_only
0 commit comments