[pypy-commit] pypy py3.5: fix test

arigo pypy.commits at gmail.com
Fri Feb 3 13:07:46 EST 2017


Author: Armin Rigo <arigo at tunes.org>
Branch: py3.5
Changeset: r89913:787209f76c53
Date: 2017-02-03 19:06 +0100
http://bitbucket.org/pypy/pypy/changeset/787209f76c53/

Log:	fix test

diff --git a/pypy/module/pypyjit/test_pypy_c/test_ffi.py b/pypy/module/pypyjit/test_pypy_c/test_ffi.py
--- a/pypy/module/pypyjit/test_pypy_c/test_ffi.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_ffi.py
@@ -421,7 +421,8 @@
         setfield_gc(p167, -1, descr=<FieldS pypy.module._cffi_backend.cdataobj.W_CDataNewOwning.inst_allocated_length .+>)
         i114 = int_ne(i160, i112)
         guard_false(i114, descr=...)
-        --TICK--
+        # NB. we get threads because '_hashlib' uses ffi callback/def_extern
+        --THREAD-TICK--
         i123 = arraylen_gc(p67, descr=<ArrayP .>)
         i119 = call_i(ConstClass(_ll_1_raw_malloc_varsize_zero__Signed), 6, descr=<Calli . i EF=5 OS=110>)
         check_memory_error(i119)


More information about the pypy-commit mailing list