Skip to content

Commit 070693d

Browse files
committed
Remap US/Pacific to America/Los_Angeles
1 parent 8434b1c commit 070693d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: pandas/tests/scalar/timestamp/test_formats.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def test_isoformat(ts, timespec, expected_iso):
8989

9090
class TestTimestampRendering:
9191
@pytest.mark.parametrize(
92-
"tz", ["UTC", "Asia/Tokyo", "US/Eastern", "dateutil/US/Pacific"]
92+
"tz", ["UTC", "Asia/Tokyo", "US/Eastern", "dateutil/America/Los_Angeles"]
9393
)
9494
@pytest.mark.parametrize("freq", ["D", "M", "S", "N"])
9595
@pytest.mark.parametrize(
@@ -99,7 +99,7 @@ def test_repr(self, date, freq, tz):
9999
# avoid to match with timezone name
100100
freq_repr = f"'{freq}'"
101101
if tz.startswith("dateutil"):
102-
tz_repr = tz.replace("dateutil/", "")
102+
tz_repr = tz.replace("dateutil", "")
103103
else:
104104
tz_repr = tz
105105

0 commit comments

Comments
 (0)