[pypy-commit] pypy default: fix for runicode test

gutworth noreply at buildbot.pypy.org
Thu Mar 29 05:50:58 CEST 2012


Author: Benjamin Peterson <benjamin at python.org>
Branch: 
Changeset: r54057:4538eb3f3810
Date: 2012-03-28 23:50 -0400
http://bitbucket.org/pypy/pypy/changeset/4538eb3f3810/

Log:	fix for runicode test

diff --git a/pypy/rpython/test/test_rstr.py b/pypy/rpython/test/test_rstr.py
--- a/pypy/rpython/test/test_rstr.py
+++ b/pypy/rpython/test/test_rstr.py
@@ -478,7 +478,7 @@
             s2 = s[3:]
             s3 = s[3:10]
             s4 = s[42:44]
-            return s1+s2 == s and s2+s1 == const('lohel') and s1+s3 == s and s4 == ""
+            return s1+s2 == s and s2+s1 == const('lohel') and s1+s3 == s and s4 == const('')
         res = self.interpret(fn, [0])
         assert res
 


More information about the pypy-commit mailing list