Skip to content

Commit f2b5b80

Browse files
committed
Update: APITest.py testDataset
1 parent fc8cb3c commit f2b5b80

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/python/unittest/API/APITest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1692,7 +1692,7 @@ def testDataset(self):
16921692
extent = [1, 1, 1]
16931693
obj = io.Dataset(data_type, extent)
16941694
if found_numpy:
1695-
d = np.array((1, 1, 1, ), dtype=np.int_)
1695+
d = np.array((1, 1, 1, ), dtype="l")
16961696
obj2 = io.Dataset(d.dtype, d.shape)
16971697
assert data_type == io.determine_datatype(d.dtype)
16981698
assert obj2.dtype == obj.dtype

0 commit comments

Comments
 (0)