[pypy-commit] pypy default: Skip these two tests on Windows.

arigo noreply at buildbot.pypy.org
Thu Mar 15 22:16:30 CET 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r53708:a6e0cb2c18ab
Date: 2012-03-15 14:16 -0700
http://bitbucket.org/pypy/pypy/changeset/a6e0cb2c18ab/

Log:	Skip these two tests on Windows.

diff --git a/pypy/module/math/test/test_direct.py b/pypy/module/math/test/test_direct.py
--- a/pypy/module/math/test/test_direct.py
+++ b/pypy/module/math/test/test_direct.py
@@ -59,6 +59,9 @@
         ('copysign', (1.5, -0.0), -1.5),
         ('copysign', (1.5, INFINITY), 1.5),
         ('copysign', (1.5, -INFINITY), -1.5),
+        ]
+    if sys.platform != 'win32':    # all NaNs seem to be negative there...?
+        IRREGCASES += [
         ('copysign', (1.5, NAN), 1.5),
         ('copysign', (1.75, -NAN), -1.75),      # special case for -NAN here
         ]


More information about the pypy-commit mailing list