From a68878188df30fac1031bb953c55d1591131a05a Mon Sep 17 00:00:00 2001 From: Kyle Sunden Date: Thu, 12 Oct 2023 13:29:53 -0500 Subject: [PATCH] Remove datetime test stubs for spectral methods/table --- lib/matplotlib/tests/test_datetime.py | 48 --------------------------- 1 file changed, 48 deletions(-) diff --git a/lib/matplotlib/tests/test_datetime.py b/lib/matplotlib/tests/test_datetime.py index 392ed7ead0d0..ef83b837348d 100644 --- a/lib/matplotlib/tests/test_datetime.py +++ b/lib/matplotlib/tests/test_datetime.py @@ -14,12 +14,6 @@ def test_acorr(self): fig, ax = plt.subplots() ax.acorr(...) - @pytest.mark.xfail(reason="Test for angle_spectrum not written yet") - @mpl.style.context("default") - def test_angle_spectrum(self): - fig, ax = plt.subplots() - ax.angle_spectrum(...) - @pytest.mark.xfail(reason="Test for annotate not written yet") @mpl.style.context("default") def test_annotate(self): @@ -110,12 +104,6 @@ def test_clabel(self): fig, ax = plt.subplots() ax.clabel(...) - @pytest.mark.xfail(reason="Test for cohere not written yet") - @mpl.style.context("default") - def test_cohere(self): - fig, ax = plt.subplots() - ax.cohere(...) - @pytest.mark.xfail(reason="Test for contour not written yet") @mpl.style.context("default") def test_contour(self): @@ -128,12 +116,6 @@ def test_contourf(self): fig, ax = plt.subplots() ax.contourf(...) - @pytest.mark.xfail(reason="Test for csd not written yet") - @mpl.style.context("default") - def test_csd(self): - fig, ax = plt.subplots() - ax.csd(...) - @pytest.mark.xfail(reason="Test for errorbar not written yet") @mpl.style.context("default") def test_errorbar(self): @@ -241,12 +223,6 @@ def test_loglog(self): fig, ax = plt.subplots() ax.loglog(...) - @pytest.mark.xfail(reason="Test for magnitude_spectrum not written yet") - @mpl.style.context("default") - def test_magnitude_spectrum(self): - fig, ax = plt.subplots() - ax.magnitude_spectrum(...) - @pytest.mark.xfail(reason="Test for matshow not written yet") @mpl.style.context("default") def test_matshow(self): @@ -277,12 +253,6 @@ def test_pcolormesh(self): fig, ax = plt.subplots() ax.pcolormesh(...) - @pytest.mark.xfail(reason="Test for phase_spectrum not written yet") - @mpl.style.context("default") - def test_phase_spectrum(self): - fig, ax = plt.subplots() - ax.phase_spectrum(...) - @mpl.style.context("default") def test_plot(self): mpl.rcParams["date.converter"] = 'concise' @@ -312,12 +282,6 @@ def test_plot_date(self): ax2.plot_date(x_dates, y_ranges) ax3.plot_date(x_ranges, y_dates) - @pytest.mark.xfail(reason="Test for psd not written yet") - @mpl.style.context("default") - def test_psd(self): - fig, ax = plt.subplots() - ax.psd(...) - @pytest.mark.xfail(reason="Test for quiver not written yet") @mpl.style.context("default") def test_quiver(self): @@ -348,12 +312,6 @@ def test_semilogy(self): fig, ax = plt.subplots() ax.semilogy(...) - @pytest.mark.xfail(reason="Test for specgram not written yet") - @mpl.style.context("default") - def test_specgram(self): - fig, ax = plt.subplots() - ax.specgram(...) - @pytest.mark.xfail(reason="Test for spy not written yet") @mpl.style.context("default") def test_spy(self): @@ -390,12 +348,6 @@ def test_streamplot(self): fig, ax = plt.subplots() ax.streamplot(...) - @pytest.mark.xfail(reason="Test for table not written yet") - @mpl.style.context("default") - def test_table(self): - fig, ax = plt.subplots() - ax.table(...) - @pytest.mark.xfail(reason="Test for text not written yet") @mpl.style.context("default") def test_text(self):