Skip to content

Commit c67f1f6

Browse files
update test_tzlocal_offset
1 parent 461ef56 commit c67f1f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/tslibs/test_timezones.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def test_tzlocal_offset():
5555
ts = Timestamp("2011-01-01", tz=dateutil.tz.tzlocal())
5656

5757
offset = dateutil.tz.tzlocal().utcoffset(datetime(2011, 1, 1))
58-
offset = offset.total_seconds()
58+
offset = offset.total_seconds() * 1_000_000 # convert to microseconds
5959

6060
assert ts._value + offset == Timestamp("2011-01-01")._value
6161

0 commit comments

Comments
 (0)