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 773f51e commit b27c916Copy full SHA for b27c916
Lib/test/test_capi/test_float.py
@@ -187,10 +187,7 @@ def test_pack_unpack_roundtrip_for_nans(self):
187
for _ in range(100):
188
for size in (2, 4, 8):
189
sign = random.randint(0, 1)
190
- if sys.platform != 'win32':
191
- quiet = random.randint(0, 1)
192
- else:
193
- quiet = 1 # doesn't work for sNaN's here
+ quiet = random.randint(0, 1)
194
if size == 8:
195
payload = random.randint(0 if quiet else 1, 1<<50)
196
i = (sign<<63) + (0x7ff<<52) + (quiet<<51) + payload
0 commit comments