Author: Alex Gaynor <[email protected]>
Branch: struct-double
Changeset: r53151:190244e3bdcf
Date: 2012-03-03 13:41 -0500
http://bitbucket.org/pypy/pypy/changeset/190244e3bdcf/

Log:    merged upstream

diff --git a/pypy/rpython/test/test_rbuilder.py 
b/pypy/rpython/test/test_rbuilder.py
--- a/pypy/rpython/test/test_rbuilder.py
+++ b/pypy/rpython/test/test_rbuilder.py
@@ -127,8 +127,10 @@
             s.append("abc")
             return s.build()
 
+        expected = "abc\x00\x00\x00\x00\x00\x00\x08@abc"
+        assert func(3.0) == expected
         res = self.ll_to_string(self.interpret(func, [3.0]))
-        assert res == "abc\x00\x00\x00\x00\x00\x00\x08@abc"
+        assert res == expected
 
         res = self.ll_to_string(self.interpret(func, [r_singlefloat(2.0)]))
         assert res == "abc\x00\x00\x00@abc"
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to