[pypy-commit] pypy struct-double: merged upstream
alex_gaynor
noreply at buildbot.pypy.org
Sat Mar 3 19:41:36 CET 2012
Author: Alex Gaynor <alex.gaynor at gmail.com>
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 at 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 at abc"
+ assert res == expected
res = self.ll_to_string(self.interpret(func, [r_singlefloat(2.0)]))
assert res == "abc\x00\x00\x00 at abc"
More information about the pypy-commit
mailing list