Fix time expression parsing (#24696)

This commit is contained in:
Anders Melchiorsen
2019-06-24 08:33:10 -07:00
committed by Paulus Schoutsen
parent 23722dc291
commit fb0cb43261
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -213,7 +213,7 @@ def test_find_next_time_expression_time_basic():
assert datetime(2018, 10, 7, 10, 30, 0) == \
find(datetime(2018, 10, 7, 10, 30, 0), '*', '/30', 0)
assert datetime(2018, 10, 7, 12, 30, 30) == \
assert datetime(2018, 10, 7, 12, 0, 30) == \
find(datetime(2018, 10, 7, 10, 30, 0), '/3', '/30', [30, 45])
assert datetime(2018, 10, 8, 5, 0, 0) == \