Author: Armin Rigo <[email protected]>
Branch: py3.5
Changeset: r89870:4e608fcc30a0
Date: 2017-02-01 09:47 +0100
http://bitbucket.org/pypy/pypy/changeset/4e608fcc30a0/
Log: fix test
diff --git a/pypy/module/pypyjit/test_pypy_c/test_containers.py
b/pypy/module/pypyjit/test_pypy_c/test_containers.py
--- a/pypy/module/pypyjit/test_pypy_c/test_containers.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_containers.py
@@ -71,7 +71,10 @@
guard_no_exception(descr=...)
guard_nonnull(p10, descr=...)
i99 = unicodehash(p10)
- i12 = cond_call_value_i(i99,
ConstClass(_ll_strhash__rpy_unicodePtr), p10, descr=<Calli . r EF=2>)
+ # NOTE: with siphash24, notably on unicodes, computing the hash
+ # may raise MemoryError
+ i12 = cond_call_value_i(i99,
ConstClass(_ll_strhash__rpy_unicodePtr), p10, descr=<Calli . r EF=5>)
+ guard_no_exception(descr=...)
p13 = new(descr=...)
p15 = new_array_clear(16, descr=<ArrayU 1>)
{{{
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit