Issue #10624: Move requires_IEEE_754 into test.support. I'll fix up other uses of it shortly.
diff --git a/Lib/test/support.py b/Lib/test/support.py
index 535e2be..a346938 100644
--- a/Lib/test/support.py
+++ b/Lib/test/support.py
@@ -366,6 +366,11 @@
return (len(x) > len(y)) - (len(x) < len(y))
return (x > y) - (x < y)
+# decorator for skipping tests on non-IEEE 754 platforms
+requires_IEEE_754 = unittest.skipUnless(
+ float.__getformat__("double").startswith("IEEE"),
+ "test requires IEEE 754 doubles")
+
is_jython = sys.platform.startswith('java')
# Filename used for testing