Skip to content

Commit a8218af

Browse files
bzahseberg
authored andcommitted
TST: Make use of clongdouble and longdouble
On some platforms float128 and complex256 do not exist. Using (c)longdouble aliases should work on all platforms.
1 parent f48e406 commit a8218af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

numpy/lib/tests/test_function_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2919,10 +2919,10 @@ def test_linear_nan_1D(self, dtype):
29192919
] + [(np.float16, np.float64),
29202920
(np.float32, np.float64),
29212921
(np.float64, np.float64),
2922-
(np.float128, np.float128),
2922+
(np.longdouble, np.longdouble),
29232923
(np.complex64, np.complex128),
29242924
(np.complex128, np.complex128),
2925-
(np.complex256, np.complex256),
2925+
(np.clongdouble, np.clongdouble),
29262926
(np.dtype("O"), np.float64)]
29272927

29282928
@pytest.mark.parametrize(["input_dtype", "expected_dtype"], H_F_TYPE_CODES)

0 commit comments

Comments
 (0)