/ robotframework Public
test_parse_time_with_now_and_utc fails around DST change
test_parse_time_with_now_and_utcfails around DST change #4523
Very minor but reporting as it was creating me headaches, running tests just exactly today.
It seems to me that the
test_parse_time_with_now_and_utctest will fail if run just on the day of DST change (ie. today) or the day before as they are doing comparisons with +/- 1 day and a hardcoded seconds difference value, which is incorrect if the DST happens between the two cases compared.
Specifically today (last night DST changed here) I see failing those tests:
Probably yesterday (so just before DST change) would be the ones with
As written above I'm not sure this is worth investigating and fixing, but just wanted to report as it gave me by chance some worries while rebuilding and retesting the new version of Robotframework. I will just redo the tests tomorrow ;-)
Tried with both 6.0 and 5.0.1
Steps to reproduce:
Run the unit tests, specifically on the day immediately before or after DST change.
Error message and traceback:
The text was updated successfully, but these errors were encountered: