Skip to content

Commit 3070ac8

Browse files
committed
Removed the test
1 parent 24e9946 commit 3070ac8

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

lib/matplotlib/tests/test_axes.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9900,16 +9900,3 @@ def test_pie_all_zeros():
99009900
fig, ax = plt.subplots()
99019901
with pytest.raises(ValueError, match="All wedge sizes are zero"):
99029902
ax.pie([0, 0], labels=["A", "B"])
9903-
9904-
9905-
def test_get_legend_return_type():
9906-
fig, ax = plt.subplots()
9907-
9908-
assert ax.get_legend() is None
9909-
9910-
ax.plot([1, 2], label="Line")
9911-
ax.legend()
9912-
9913-
legend = ax.get_legend()
9914-
assert legend is not None
9915-
assert isinstance(legend, matplotlib.legend.Legend)

0 commit comments

Comments
 (0)