Skip to content

Commit 9116d69

Browse files
committed
TST: Update numpy dtype flags test to not covert flags to char
1 parent 3c45949 commit 9116d69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_numpy_dtypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def test_dtype(simple_dtype):
178178
assert m.test_dtype_num() == [np.dtype(ch).num for ch in expected_chars]
179179
assert m.test_dtype_byteorder() == [np.dtype(ch).byteorder for ch in expected_chars]
180180
assert m.test_dtype_alignment() == [np.dtype(ch).alignment for ch in expected_chars]
181-
assert m.test_dtype_flags() == [chr(np.dtype(ch).flags) for ch in expected_chars]
181+
assert m.test_dtype_flags() == [np.dtype(ch).flags for ch in expected_chars]
182182

183183

184184
def test_recarray(simple_dtype, packed_dtype):

0 commit comments

Comments
 (0)