[pypy-commit] pypy py3.6: fix test
arigo
pypy.commits at gmail.com
Sun Jul 14 12:52:54 EDT 2019
Author: Armin Rigo <arigo at tunes.org>
Branch: py3.6
Changeset: r96999:57c274368925
Date: 2019-07-14 17:52 +0100
http://bitbucket.org/pypy/pypy/changeset/57c274368925/
Log: fix test
diff --git a/pypy/module/pypyjit/test_pypy_c/test_string.py b/pypy/module/pypyjit/test_pypy_c/test_string.py
--- a/pypy/module/pypyjit/test_pypy_c/test_string.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_string.py
@@ -168,7 +168,10 @@
guard_no_exception(descr=...)
p95 = call_r(..., descr=<Callr . r EF=5>) # ll_build
guard_no_exception(descr=...)
- i96 = strlen(p95)
+ i96 = call_i(ConstClass(codepoints_in_utf8), p95, 0, _, descr=<Calli . rii EF=4>)
+ guard_no_exception(descr=...)
+ i969 = int_lt(i96, 0)
+ guard_false(i969, descr=...)
i97 = int_add_ovf(i71, i96)
guard_no_overflow(descr=...)
i98 = int_sub(i74, 1)
More information about the pypy-commit
mailing list