Skip to content

Commit ea7076a

Browse files
committed
adjust time test
1 parent a372eaf commit ea7076a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_shatter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ def test_multiple(
9393
# check that you can query results by datetime
9494
with storage.open('r') as a:
9595
a:tiledb.SparseArray
96-
query_time = datetime.datetime(2009,1,1).timestamp()
96+
query_time = datetime.datetime(2009,6,1).timestamp()
9797
q = a.query(cond=f'start_datetime >= {query_time}')
98-
assert q.df[:,:]['start_datetime'].size == base ** 2
98+
assert len(q.df[:,:]['start_datetime']) == base ** 2
9999

100100
m = info(storage.config.tdb_dir)
101101
assert len(m['history']) == 2

0 commit comments

Comments
 (0)