Skip to content

Commit 787ec3a

Browse files
committed
debugging CI failure
1 parent ea27a5a commit 787ec3a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/tests/plotting/test_datetimelike.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ def test_ts_plot_with_tz(self, tz_aware_fixture):
5858
# Extract H:M component, check first point is in correct timezone.
5959
# NOTE: this test could be updated once GH 31548 is fixed,
6060
# so that the last point is checked as well.
61-
assert re.findall(r"\d{2}:\d{2}", labels[0])[0] == "00:00"
61+
assert labels == []
62+
assert re.findall(r"[^:]?(\d{2}:\d{2})", labels[0])[0] == "00:00"
6263
_check_plot_works(ts.plot)
6364

6465
def test_fontsize_set_correctly(self):

0 commit comments

Comments
 (0)