Skip to content

Commit 3d0ad32

Browse files
committed
future proofing numpy bool type
1 parent fd84b9e commit 3d0ad32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typed_python/types_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2021,7 +2021,7 @@ def test_can_convert_numpy_scalars(self):
20212021
def test_other_bitness_types(self):
20222022
# verify we can cast around non-64-bit values in a way that matches numpy
20232023
typeAndNumpyType = [
2024-
(bool, numpy.bool),
2024+
(bool, numpy.bool_),
20252025
(Int8, numpy.int8),
20262026
(Int16, numpy.int16),
20272027
(Int32, numpy.int32),

0 commit comments

Comments
 (0)