Author: Armin Rigo <[email protected]>
Branch: kill-someobject
Changeset: r57939:b419aa41c9b1
Date: 2012-10-08 16:36 +0200
http://bitbucket.org/pypy/pypy/changeset/b419aa41c9b1/
Log: Fix the last issue in test_typed
diff --git a/pypy/translator/c/test/test_genc.py
b/pypy/translator/c/test/test_genc.py
--- a/pypy/translator/c/test/test_genc.py
+++ b/pypy/translator/c/test/test_genc.py
@@ -21,6 +21,8 @@
return "%d:%d" % (intmask(v >> 32), intmask(v & unsigned_ffffffff))
elif isinstance(v, r_longlong):
return "%d:%d" % (intmask(v >> 32), intmask(v & signed_ffffffff))
+ elif isinstance(v, float):
+ return repr(v) # extra precision than str(v)
return str(v)
def parse_longlong(a):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit