From 83883c7a5d18da9adcbd4d207a765bf300690e20 Mon Sep 17 00:00:00 2001 From: Sebastian Berg Date: Wed, 6 Mar 2024 15:27:26 +0100 Subject: [PATCH] TST: Update numpy dtype flags test to not covert flags to char --- tests/test_numpy_dtypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_numpy_dtypes.py b/tests/test_numpy_dtypes.py index d10457eeb2e..c86bc3385c4 100644 --- a/tests/test_numpy_dtypes.py +++ b/tests/test_numpy_dtypes.py @@ -178,7 +178,7 @@ def test_dtype(simple_dtype): assert m.test_dtype_num() == [np.dtype(ch).num for ch in expected_chars] assert m.test_dtype_byteorder() == [np.dtype(ch).byteorder for ch in expected_chars] assert m.test_dtype_alignment() == [np.dtype(ch).alignment for ch in expected_chars] - assert m.test_dtype_flags() == [chr(np.dtype(ch).flags) for ch in expected_chars] + assert m.test_dtype_flags() == [np.dtype(ch).flags for ch in expected_chars] def test_recarray(simple_dtype, packed_dtype):