We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b93f48c commit 04356f7Copy full SHA for 04356f7
Lib/test/support/__init__.py
@@ -518,7 +518,11 @@ def dec(*args, **kwargs):
518
# for a discussion of this number.
519
SOCK_MAX_SIZE = 16 * 1024 * 1024 + 1
520
521
+# This helper exists for alternative Python implementations, that use
522
+# the CPython test suite.
523
def _have_ieee_doubles():
524
+ if sys.implementation.name == 'cpython':
525
+ return True
526
import math
527
import struct
528
# Check parameters for encoding of floats; a quick exit
0 commit comments