Skip to content

Commit

Permalink
Fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
seboceanum committed Aug 29, 2024
1 parent 9377f6b commit fe61cc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ def test_query_timefilter():
)
q = Query(
datasource="test",
timefilter={"times": [np.datetime64("2000-01-01T00:00:00"), np.datetime64("2001-01-01T00:00:00Z")]},
timefilter={"times": [numpy.datetime64("2000-01-01T00:00:00"), numpy.datetime64("2001-01-01T00:00:00")]},
)
q = Query(
datasource="test",
timefilter={"times": ["P5D","P2D"]},
)
q = Query(
datasource="test",
timefilter={"times": [np.timedelta64("P5D"), np.timedelta64("P2D")]}
timefilter={"times": [-numpy.timedelta64(5,"D"), numpy.timedelta64(2,"D")]}
)
q = Query(
datasource="test",
Expand Down

0 comments on commit fe61cc5

Please sign in to comment.