Skip to content

Commit

Permalink
Backport PR pandas-dev#57726: TST/CI: Fix test_repr on musl for dateu…
Browse files Browse the repository at this point in the history
…til 2.9
  • Loading branch information
mroeschke committed Mar 4, 2024
1 parent 4ac5ee2 commit 0b366c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pandas/tests/io/pytables/test_timezones.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def test_append_with_timezones(setup_path, gettz):

msg = (
r"invalid info for \[values_block_1\] for \[tz\], "
r"existing_value \[(dateutil/.*)?US/Eastern\] "
r"existing_value \[(dateutil/.*)?(US/Eastern|America/New_York)\] "
r"conflicts with new value \[(dateutil/.*)?EET\]"
)
with pytest.raises(ValueError, match=msg):
Expand Down
2 changes: 1 addition & 1 deletion pandas/tests/scalar/timestamp/test_formats.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def test_isoformat(ts, timespec, expected_iso):


class TestTimestampRendering:
timezones = ["UTC", "Asia/Tokyo", "US/Eastern", "dateutil/US/Pacific"]
timezones = ["UTC", "Asia/Tokyo", "US/Eastern", "dateutil/America/Los_Angeles"]

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

0 comments on commit 0b366c2

Please sign in to comment.