summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sys_settrace.py
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2020-11-12 19:49:33 (GMT)
committerGitHub <noreply@github.com>2020-11-12 19:49:33 (GMT)
commitcc75ab791dd5ae2cb9f6e0c3c5f734a6ae1eb2a9 (patch)
treef7ca27adb94688d7b271dc2ee210b30f99003375 /Lib/test/test_sys_settrace.py
parent750c5abf43b7b1627ab59ead237bef4c2314d29e (diff)
downloadcpython-cc75ab791dd5ae2cb9f6e0c3c5f734a6ae1eb2a9.zip
cpython-cc75ab791dd5ae2cb9f6e0c3c5f734a6ae1eb2a9.tar.gz
cpython-cc75ab791dd5ae2cb9f6e0c3c5f734a6ae1eb2a9.tar.bz2
bpo-42246: Eliminate jumps to exit blocks by copying those blocks. (#23251)
* Compiler: eliminate jumps to short exit blocks by copying.
Diffstat (limited to 'Lib/test/test_sys_settrace.py')
-rw-r--r--Lib/test/test_sys_settrace.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_sys_settrace.py b/Lib/test/test_sys_settrace.py
index 66b1b36..ccdb5c2 100644
--- a/Lib/test/test_sys_settrace.py
+++ b/Lib/test/test_sys_settrace.py
@@ -990,7 +990,7 @@ class JumpTestCase(unittest.TestCase):
pass
output.append(12)
- @jump_test(3, 4, [1], (ValueError, 'unreachable'))
+ @jump_test(3, 4, [1], (ValueError, 'after'))
def test_no_jump_infinite_while_loop(output):
output.append(1)
while True: