8000 FIX · matplotlib/matplotlib@fe61d62 · GitHub
[go: up one dir, main page]

Skip to content

Commit fe61d62

Browse files
committed
FIX
1 parent 46ec51f commit fe61d62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/tests/test_dates.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -957,5 +957,5 @@ def test_warn_notintervals():
957957
locator.set_view_interval(mdates.date2num(dates[0]),
958958
mdates.date2num(dates[-1]))
959959
with pytest.warns(UserWarning, match="AutoDateLocator was unable") as rec:
960-
assert len(rec) == 1
961-
assert "AutoDateLocator was unable" in str(rec[0].message)
960+
locs = locator()
961+

0 commit comments

Comments
 (0)
0