[pypy-svn] r49030 - in pypy/branch/remove-extcompiler-rctypes/pypy/translator: c/test test

cfbolz at codespeak.net cfbolz at codespeak.net
Sat Nov 24 13:40:44 CET 2007


Author: cfbolz
Date: Sat Nov 24 13:40:43 2007
New Revision: 49030

Modified:
   pypy/branch/remove-extcompiler-rctypes/pypy/translator/c/test/test_typed.py
   pypy/branch/remove-extcompiler-rctypes/pypy/translator/test/snippet.py
Log:
fix this test, this is no longer allowed


Modified: pypy/branch/remove-extcompiler-rctypes/pypy/translator/c/test/test_typed.py
==============================================================================
--- pypy/branch/remove-extcompiler-rctypes/pypy/translator/c/test/test_typed.py	(original)
+++ pypy/branch/remove-extcompiler-rctypes/pypy/translator/c/test/test_typed.py	Sat Nov 24 13:40:43 2007
@@ -60,7 +60,7 @@
 
     def test_inheritance2(self):
         inheritance2 = self.getcompiled(snippet.inheritance2)
-        assert inheritance2() == ((-12, -12), (3, "world"))
+        assert inheritance2() == ((-12, -12.0), (3, 12.3))
 
     def test_factorial2(self):
         factorial2 = self.getcompiled(snippet.factorial2, [int])

Modified: pypy/branch/remove-extcompiler-rctypes/pypy/translator/test/snippet.py
==============================================================================
--- pypy/branch/remove-extcompiler-rctypes/pypy/translator/test/snippet.py	(original)
+++ pypy/branch/remove-extcompiler-rctypes/pypy/translator/test/snippet.py	Sat Nov 24 13:40:43 2007
@@ -371,7 +371,7 @@
     d = D()
     d.stuff = (-12, -12)
     e = E()
-    e.stuff = (3, "world")
+    e.stuff = (3, 12.3)
     return _getstuff(d), _getstuff(e)
 
 class F:



More information about the Pypy-commit mailing list