64-bit testcase fix
authorDag Sverre Seljebotn <dagss@student.matnat.uio.no>
Sat, 7 Jun 2008 09:38:26 +0000 (11:38 +0200)
committerDag Sverre Seljebotn <dagss@student.matnat.uio.no>
Sat, 7 Jun 2008 09:38:26 +0000 (11:38 +0200)
tests/run/inplace.pyx

index 54859fb3f3a914048454eb3adc1355e28a3526b7..7c9ba9cec5e929e2e74997561e186453b8578ea2 100644 (file)
@@ -1,6 +1,6 @@
 __doc__ = u"""
-    >>> f(5, 7)
-    29509034655744L
+    >>> str(f(5, 7))
+    '29509034655744'
 
     >>> g(13, 4)
     32
@@ -9,10 +9,6 @@ __doc__ = u"""
     105.0
 """
 
-import sys
-if sys.version_info[0] >= 3:
-    __doc__ = __doc__.replace(u"L", u"")
-
 def f(a,b):
     a += b
     a *= b