aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2020-09-03 08:33:54 +0200
committerArmin Rigo <arigo@tunes.org>2020-09-03 08:33:54 +0200
commitde4598d7a7f4566c178bc4402bafcb212b8657aa (patch)
treeb64938c474797732e775aca1a4281c5fb70edf41
parentupdate to cffi/108825c76286 (diff)
downloadpypy-de4598d7a7f4566c178bc4402bafcb212b8657aa.tar.gz
pypy-de4598d7a7f4566c178bc4402bafcb212b8657aa.tar.bz2
pypy-de4598d7a7f4566c178bc4402bafcb212b8657aa.zip
fix for 90c5a06b0923
-rw-r--r--pypy/module/pypyjit/test_pypy_c/test_thread.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pypy/module/pypyjit/test_pypy_c/test_thread.py b/pypy/module/pypyjit/test_pypy_c/test_thread.py
index 346ccf03d9..04c1c86fe2 100644
--- a/pypy/module/pypyjit/test_pypy_c/test_thread.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_thread.py
@@ -64,9 +64,11 @@ class TestThread(BaseTestPyPyC):
guard_true(i56, descr=...)
p57 = force_token()
setfield_gc(p0, p57, descr=<FieldP pypy.interpreter.pyframe.PyFrame.vable_token 8>)
- i58 = call_release_gil_i(0, _, i37, 1, descr=<Calli 4 ii EF=7>)
+ i54 = call_release_gil_i(0, _, i37, 1, descr=<Calli 4 ii EF=7>)
guard_not_forced(descr=...)
guard_no_exception(descr=...)
+ i55 = int_ne(i54, 1) # sanity-check added in 90c5a06b0923
+ guard_false(i55, descr=...)
i58 = int_sub(i44, 1)
i59 = call_i(ConstClass(RPyThreadReleaseLock), i37, descr=<Calli . i EF=2>)
i60 = int_is_true(i59)