[pypy-svn] r24325 - pypy/dist/pypy/translator/test

tismer at codespeak.net tismer at codespeak.net
Tue Mar 14 03:44:00 CET 2006


Author: tismer
Date: Tue Mar 14 03:43:49 2006
New Revision: 24325

Modified:
   pypy/dist/pypy/translator/test/test_extension.py
Log:
another simple test

Modified: pypy/dist/pypy/translator/test/test_extension.py
==============================================================================
--- pypy/dist/pypy/translator/test/test_extension.py	(original)
+++ pypy/dist/pypy/translator/test/test_extension.py	Tue Mar 14 03:43:49 2006
@@ -65,5 +65,5 @@
     bigval = 123456789012345l
     assert raises(OverflowError, f, bigval)
     assert g(bigval) == example_obj_long(bigval)
-    
-    
\ No newline at end of file
+    assert g(float(bigval)) == example_obj_long(bigval)
+    assert raises(TypeError, g, str(bigval))



More information about the Pypy-commit mailing list