Skip to content

Commit df097bb

Browse files
authored
Python Tests: Fix long Numpy Type (#1348)
Ref.: https://numpy.org/doc/stable/user/basics.types.html
1 parent c373b97 commit df097bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/python/unittest/API/APITest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2048,7 +2048,7 @@ def testError(self):
20482048
def testCustomGeometries(self):
20492049
DS = io.Dataset
20502050
DT = io.Datatype
2051-
sample_data = np.ones([10], dtype=np.long)
2051+
sample_data = np.ones([10], dtype=np.int_)
20522052

20532053
write = io.Series("../samples/custom_geometries_python.json",
20542054
io.Access.create)

0 commit comments

Comments
 (0)