We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 461ef56 commit c67f1f6Copy full SHA for c67f1f6
pandas/tests/tslibs/test_timezones.py
@@ -55,7 +55,7 @@ def test_tzlocal_offset():
55
ts = Timestamp("2011-01-01", tz=dateutil.tz.tzlocal())
56
57
offset = dateutil.tz.tzlocal().utcoffset(datetime(2011, 1, 1))
58
- offset = offset.total_seconds()
+ offset = offset.total_seconds() * 1_000_000 # convert to microseconds
59
60
assert ts._value + offset == Timestamp("2011-01-01")._value
61
0 commit comments