8000 PYTHON-1359 Fix for numpy>=1.24.0 (#1169) · datastax/python-driver@49e1b49 · GitHub
[go: up one dir, main page]

Skip to content

Commit 49e1b49

Browse files
authored
PYTHON-1359 Fix for numpy>=1.24.0 (#1169)
1 parent 9629c2a commit 49e1b49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cassandra/numpy_parser.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def make_array(coltype, array_size):
134134
"""
135135
try:
136136
a = np.ma.empty((array_size,), dtype=_cqltype_to_numpy[coltype])
137-
a.mask = np.zeros((array_size,), dtype=np.bool)
137+
a.mask = np.zeros((array_size,), dtype=bool)
138138
except KeyError:
139139
a = np.empty((array_size,), dtype=obj_dtype)
140140
return a

0 commit comments

Comments
 (0)
0