Skip to content

Commit e394940

Browse files
authored
Merge pull request #27072 from ksunden/rm_spectral_datetime
Remove datetime test stubs for spectral methods/table
2 parents 6061057 + a688781 commit e394940

File tree

1 file changed

+0
-48
lines changed

1 file changed

+0
-48
lines changed

lib/matplotlib/tests/test_datetime.py

-48
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@ def test_acorr(self):
1414
fig, ax = plt.subplots()
1515
ax.acorr(...)
1616

17-
@pytest.mark.xfail(reason="Test for angle_spectrum not written yet")
18-
@mpl.style.context("default")
19-
def test_angle_spectrum(self):
20-
fig, ax = plt.subplots()
21-
ax.angle_spectrum(...)
22-
2317
@pytest.mark.xfail(reason="Test for annotate not written yet")
2418
@mpl.style.context("default")
2519
def test_annotate(self):
@@ -110,12 +104,6 @@ def test_clabel(self):
110104
fig, ax = plt.subplots()
111105
ax.clabel(...)
112106

113-
@pytest.mark.xfail(reason="Test for cohere not written yet")
114-
@mpl.style.context("default")
115-
def test_cohere(self):
116-
fig, ax = plt.subplots()
117-
ax.cohere(...)
118-
119107
@pytest.mark.xfail(reason="Test for contour not written yet")
120108
@mpl.style.context("default")
121109
def test_contour(self):
@@ -128,12 +116,6 @@ def test_contourf(self):
128116
fig, ax = plt.subplots()
129117
ax.contourf(...)
130118

131-
@pytest.mark.xfail(reason="Test for csd not written yet")
132-
@mpl.style.context("default")
133-
def test_csd(self):
134-
fig, ax = plt.subplots()
135-
ax.csd(...)
136-
137119
@pytest.mark.xfail(reason="Test for errorbar not written yet")
138120
@mpl.style.context("default")
139121
def test_errorbar(self):
@@ -241,12 +223,6 @@ def test_loglog(self):
241223
fig, ax = plt.subplots()
242224
ax.loglog(...)
243225

244-
@pytest.mark.xfail(reason="Test for magnitude_spectrum not written yet")
245-
@mpl.style.context("default")
246-
def test_magnitude_spectrum(self):
247-
fig, ax = plt.subplots()
248-
ax.magnitude_spectrum(...)
249-
250226
@pytest.mark.xfail(reason="Test for matshow not written yet")
251227
@mpl.style.context("default")
252228
def test_matshow(self):
@@ -277,12 +253,6 @@ def test_pcolormesh(self):
277253
fig, ax = plt.subplots()
278254
ax.pcolormesh(...)
279255

280-
@pytest.mark.xfail(reason="Test for phase_spectrum not written yet")
281-
@mpl.style.context("default")
282-
def test_phase_spectrum(self):
283-
fig, ax = plt.subplots()
284-
ax.phase_spectrum(...)
285-
286256
@mpl.style.context("default")
287257
def test_plot(self):
288258
mpl.rcParams["date.converter"] = 'concise'
@@ -312,12 +282,6 @@ def test_plot_date(self):
312282
ax2.plot_date(x_dates, y_ranges)
313283
ax3.plot_date(x_ranges, y_dates)
314284

315-
@pytest.mark.xfail(reason="Test for psd not written yet")
316-
@mpl.style.context("default")
317-
def test_psd(self):
318-
fig, ax = plt.subplots()
319-
ax.psd(...)
320-
321285
@pytest.mark.xfail(reason="Test for quiver not written yet")
322286
@mpl.style.context("default")
323287
def test_quiver(self):
@@ -348,12 +312,6 @@ def test_semilogy(self):
348312
fig, ax = plt.subplots()
349313
ax.semilogy(...)
350314

351-
@pytest.mark.xfail(reason="Test for specgram not written yet")
352-
@mpl.style.context("default")
353-
def test_specgram(self):
354-
fig, ax = plt.subplots()
355-
ax.specgram(...)
356-
357315
@pytest.mark.xfail(reason="Test for spy not written yet")
358316
@mpl.style.context("default")
359317
def test_spy(self):
@@ -390,12 +348,6 @@ def test_streamplot(self):
390348
fig, ax = plt.subplots()
391349
ax.streamplot(...)
392350

393-
@pytest.mark.xfail(reason="Test for table not written yet")
394-
@mpl.style.context("default")
395-
def test_table(self):
396-
fig, ax = plt.subplots()
397-
ax.table(...)
398-
399351
@pytest.mark.xfail(reason="Test for text not written yet")
400352
@mpl.style.context("default")
401353
def test_text(self):

0 commit comments

Comments
 (0)