diff --git a/lib/matplotlib/tests/test_dates.py b/lib/matplotlib/tests/test_dates.py index 572891e91653..5245b14777f3 100644 --- a/lib/matplotlib/tests/test_dates.py +++ b/lib/matplotlib/tests/test_dates.py @@ -1300,6 +1300,7 @@ def test_change_interval_multiples(): assert ax.get_xticklabels()[1].get_text() == 'Feb 01 2020' +@pytest.mark.filterwarnings("ignore:I/O error") def test_DateLocator(): locator = mdates.DateLocator() # Test nonsingular