Skip to content

Commit aa4fed2

Browse files
author
Miguel de Val-Borro
committed
Remove float128 from DTYPES in 32-bit architecture
1 parent a7bec49 commit aa4fed2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎astropy/io/ascii/tests/test_ecsv.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"""
99
import os
1010
import copy
11+
import sys
1112

1213
import numpy as np
1314

@@ -28,7 +29,7 @@
2829
DTYPES = ['bool', 'int8', 'int16', 'int32', 'int64', 'uint8', 'uint16', 'uint32',
2930
'uint64', 'float16', 'float32', 'float64', 'float128',
3031
'str']
31-
if os.name == 'nt':
32+
if os.name == 'nt' or sys.maxsize <= 2**32:
3233
DTYPES.remove('float128')
3334

3435
T_DTYPES = Table()

0 commit comments

Comments
 (0)