[pypy-commit] pypy default: it passes like this
cfbolz
pypy.commits at gmail.com
Thu Mar 28 13:06:54 EDT 2019
Author: Carl Friedrich Bolz-Tereick <cfbolz at gmx.de>
Branch:
Changeset: r96382:439f4942e2bd
Date: 2019-03-28 18:06 +0100
http://bitbucket.org/pypy/pypy/changeset/439f4942e2bd/
Log: it passes like this
diff --git a/rpython/jit/metainterp/test/test_ajit.py b/rpython/jit/metainterp/test/test_ajit.py
--- a/rpython/jit/metainterp/test/test_ajit.py
+++ b/rpython/jit/metainterp/test/test_ajit.py
@@ -109,7 +109,6 @@
self.check_trace_count(1)
self.check_simple_loop(int_mul=1)
- @py.test.mark.xfail
def test_rutf8(self):
from rpython.rlib import rutf8, jit
class U(object):
@@ -133,7 +132,8 @@
x = str(a)
u = U(x, len(x))
st = u._get_index_storage()
- return st[0].baseindex
+ return rutf8.codepoint_index_at_byte_position(
+ u.u, st, 1)
self.interp_operations(m, [123232])
More information about the pypy-commit
mailing list