Skip to content

Commit 6026e37

Browse files
committed
Explicitly Use np.int64 in randint Generator
* Otherwise, this causes an overflow error in Windows (int32)
1 parent 33a648a commit 6026e37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tiledb/tests/test_query_condition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ def test_dense_datetime(self):
616616
uri = self.path("query-filter-dense-datetime.tdb")
617617

618618
data = pd.DataFrame(
619-
np.random.randint(438923600, 243892360000, 20),
619+
np.random.randint(438923600, 243892360000, 20, dtype=np.int64),
620620
columns=["dates"],
621621
)
622622

0 commit comments

Comments
 (0)