[pypy-commit] pypy default: wrap nicely

gutworth noreply at buildbot.pypy.org
Thu Mar 29 05:51:00 CEST 2012


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

Log:	wrap nicely

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,10 @@
             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 == const('')
+            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