summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/stress/bytecode_limit.py2
-rw-r--r--tests/stress/bytecode_limit.py.exp4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/stress/bytecode_limit.py b/tests/stress/bytecode_limit.py
index 8cca413cf..ad090637f 100644
--- a/tests/stress/bytecode_limit.py
+++ b/tests/stress/bytecode_limit.py
@@ -3,7 +3,7 @@
body = " with f()()() as a:\n try:\n f()()()\n except Exception:\n pass\n"
# Test overflow of jump offset.
-for n in (430, 431, 432, 433):
+for n in (433, 432, 431, 430):
try:
exec("cond = 0\nif cond:\n" + body * n + "else:\n print('cond false')\n")
except MemoryError:
diff --git a/tests/stress/bytecode_limit.py.exp b/tests/stress/bytecode_limit.py.exp
index 74ab06c09..1d892250b 100644
--- a/tests/stress/bytecode_limit.py.exp
+++ b/tests/stress/bytecode_limit.py.exp
@@ -1,5 +1,5 @@
-cond false
-cond false
RuntimeError
RuntimeError
+cond false
+cond false
[123]