Skip to content

Commit 2d62e7b

Browse files
committed
Add comment to explain the skip
1 parent c4c729d commit 2d62e7b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Lib/test/test_capi/test_float.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,9 @@ def test_pack_unpack_roundtrip_for_nans(self):
187187
if (not arch_32bit) or (sys.platform == 'win32'):
188188
sizes = (2, 4, 8)
189189
else:
190+
# Skip 16-bit float and 32-bit float tests on x86 (32-bit), since
191+
# these tests fail. The problem is that sNaN become qNaN just by
192+
# the calling convention, there is no way to preserve sNaN.
190193
sizes = (8,)
191194

192195
for _ in range(1000):

0 commit comments

Comments
 (0)