Skip to content

Commit 6db283c

Browse files
authored
Backport PR pandas-dev#57726: TST/CI: Fix test_repr on musl for dateutil 2.9 (pandas-dev#57728)
1 parent 4ac5ee2 commit 6db283c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/tests/io/pytables/test_timezones.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def test_append_with_timezones(setup_path, gettz):
104104

105105
msg = (
106106
r"invalid info for \[values_block_1\] for \[tz\], "
107-
r"existing_value \[(dateutil/.*)?US/Eastern\] "
107+
r"existing_value \[(dateutil/.*)?(US/Eastern|America/New_York)\] "
108108
r"conflicts with new value \[(dateutil/.*)?EET\]"
109109
)
110110
with pytest.raises(ValueError, match=msg):

pandas/tests/scalar/timestamp/test_formats.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def test_isoformat(ts, timespec, expected_iso):
8888

8989

9090
class TestTimestampRendering:
91-
timezones = ["UTC", "Asia/Tokyo", "US/Eastern", "dateutil/US/Pacific"]
91+
timezones = ["UTC", "Asia/Tokyo", "US/Eastern", "dateutil/America/Los_Angeles"]
9292

9393
@pytest.mark.parametrize("tz", timezones)
9494
@pytest.mark.parametrize("freq", ["D", "M", "S", "N"])

0 commit comments

Comments
 (0)