[pypy-svn] pypy move-rfloat: Fix an import and the last failure in move-rfloat branch

amauryfa commits-noreply at bitbucket.org
Wed Mar 2 13:55:29 CET 2011


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: move-rfloat
Changeset: r42386:f366c16081b1
Date: 2011-03-02 13:54 +0100
http://bitbucket.org/pypy/pypy/changeset/f366c16081b1/

Log:	Fix an import and the last failure in move-rfloat branch

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
@@ -270,8 +270,7 @@
     assert res == 1.5
 
 def test_nan_and_special_values():
-    from pypy.translator.c.primitive import isnan, isinf
-    from pypy.rlib.rarithmetic import copysign
+    from pypy.rlib.rfloat import isnan, isinf, copysign
     inf = 1e300 * 1e300
     assert isinf(inf)
     nan = inf/inf


More information about the Pypy-commit mailing list