Skip to content

Commit bb3fd9e

Browse files
committed
skip that for poor childrens
1 parent ca96502 commit bb3fd9e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Lib/test/test_ctypes/test_numbers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,8 @@ def test_init(self):
231231
# probably be changed:
232232
self.assertRaises(TypeError, c_int, c_long(42))
233233

234+
@unittest.skipUnless(hasattr(ctypes, "c_double_complex"),
235+
"requires C11 complex type")
234236
def test_float_overflow(self):
235237
big_int = int(sys.float_info.max) * 2
236238
for t in float_types + [c_longdouble]:

0 commit comments

Comments
 (0)