[pypy-commit] pypy struct-double: run directly as well

fijal noreply at buildbot.pypy.org
Sat Mar 3 19:04:47 CET 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
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 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