[pypy-svn] r48851 - in pypy/branch/new-genc-tests-wrapper/pypy/translator: c/test test

cfbolz at codespeak.net cfbolz at codespeak.net
Tue Nov 20 17:39:36 CET 2007


Author: cfbolz
Date: Tue Nov 20 17:39:36 2007
New Revision: 48851

Modified:
   pypy/branch/new-genc-tests-wrapper/pypy/translator/c/test/test_typed.py
   pypy/branch/new-genc-tests-wrapper/pypy/translator/test/snippet.py
Log:
(cfbolz, rxe): this snippet created SomeObjects. stop doing that.


Modified: pypy/branch/new-genc-tests-wrapper/pypy/translator/c/test/test_typed.py
==============================================================================
--- pypy/branch/new-genc-tests-wrapper/pypy/translator/c/test/test_typed.py	(original)
+++ pypy/branch/new-genc-tests-wrapper/pypy/translator/c/test/test_typed.py	Tue Nov 20 17:39:36 2007
@@ -61,7 +61,7 @@
 
     def test_inheritance2(self):
         inheritance2 = self.getcompiled(snippet.inheritance2)
-        assert inheritance2() == ((-12, -12), (3, "world"))
+        assert inheritance2() == ((-12, -12.0), (3, 14.0))
 
     def test_factorial2(self):
         factorial2 = self.getcompiled(snippet.factorial2, [int])

Modified: pypy/branch/new-genc-tests-wrapper/pypy/translator/test/snippet.py
==============================================================================
--- pypy/branch/new-genc-tests-wrapper/pypy/translator/test/snippet.py	(original)
+++ pypy/branch/new-genc-tests-wrapper/pypy/translator/test/snippet.py	Tue Nov 20 17:39:36 2007
@@ -371,7 +371,7 @@
     d = D()
     d.stuff = (-12, -12)
     e = E()
-    e.stuff = (3, "world")
+    e.stuff = (3, 14.0)
     return _getstuff(d), _getstuff(e)
 
 class F:



More information about the Pypy-commit mailing list