Skip to content

Commit b8d15ab

Browse files
committed
fix numpy deprecation errors
1 parent 2f3a245 commit b8d15ab

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/fast/test_all_types.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -377,9 +377,9 @@ def test_fetchnumpy(self, cur_type):
377377
),
378378
"interval": np.ma.array(
379379
[
380-
np.timedelta64(0),
381-
np.timedelta64(2675722599999999000),
382-
np.timedelta64(42),
380+
np.timedelta64(0, "ns"),
381+
np.timedelta64(2675722599999999000, "ns"),
382+
np.timedelta64(42, "ns"),
383383
],
384384
mask=[0, 0, 1],
385385
),

0 commit comments

Comments
 (0)