Skip to content

Commit b27c916

Browse files
committed
XXX revert win32 wa
1 parent 773f51e commit b27c916

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Lib/test/test_capi/test_float.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,7 @@ def test_pack_unpack_roundtrip_for_nans(self):
187187
for _ in range(100):
188188
for size in (2, 4, 8):
189189
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
190+
quiet = random.randint(0, 1)
194191
if size == 8:
195192
payload = random.randint(0 if quiet else 1, 1<<50)
196193
i = (sign<<63) + (0x7ff<<52) + (quiet<<51) + payload

0 commit comments

Comments
 (0)