You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
======================================================================
FAIL [0.004s]: test_datetime_at_midnight (test_time.DateT
imeUtilsTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/python/tests/test_time.py", line 68, in test_datetime_at_midnight
self.assertGreaterEqual(diff_nanos(mid_night_time_ny, mid_night_time_pt), 0)
AssertionError: -75600000000000 not greater than or equal to 0
The text was updated successfully, but these errors were encountered:
This isn't a very good test, in general; we can be more specific in our expectations.
I think it makes more sense to have a set of input datetimes, and expected midnight datetimes in multiple timezones, including on dates with to/from DST transitions.
The text was updated successfully, but these errors were encountered: