Author: Maciej Fijalkowski <[email protected]>
Branch: struct-double
Changeset: r53147:779f58b280ee
Date: 2012-03-03 10:04 -0800
http://bitbucket.org/pypy/pypy/changeset/779f58b280ee/
Log: run directly as well
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