[pypy-commit] pypy default: 'fix' test

arigo noreply at buildbot.pypy.org
Fri Apr 3 17:02:09 CEST 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r76702:b58c996fdef5
Date: 2015-04-03 16:15 +0200
http://bitbucket.org/pypy/pypy/changeset/b58c996fdef5/

Log:	'fix' test

diff --git a/rpython/jit/metainterp/test/test_string.py b/rpython/jit/metainterp/test/test_string.py
--- a/rpython/jit/metainterp/test/test_string.py
+++ b/rpython/jit/metainterp/test/test_string.py
@@ -897,7 +897,9 @@
                 m -= 1
             return 42
         self.meta_interp(f, [6, 7])
-        self.check_resops(unicodesetitem=2, newunicode=2, call=4,
+        # xxx used to be 'call=4', but the two extra calls in the loop
+        # are not safe to remove; see 56eebe9dd813
+        self.check_resops(unicodesetitem=2, newunicode=2, call=6,
                           copyunicodecontent=2, unicodegetitem=0)
 
     def test_str2unicode_fold(self):


More information about the pypy-commit mailing list