Skip to content

Commit 77e7b31

Browse files
committed
TST: renamed test to be less idiomatic
1 parent 676f3eb commit 77e7b31

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/matplotlib/tests/test_axes.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1695,12 +1695,13 @@ def test_bar_pandas_indexed(pd):
16951695
ax.bar(df.x, 1., width=df.width)
16961696

16971697

1698-
def test_pandas_smoke(pd):
1699-
# This should not raise any warnings
1700-
x = pd.Series([], dtype="float64")
1698+
def test_pandas_minimal_plot(pd):
1699+
# smoke test that series and index objcets do not warn
1700+
x = pd.Series([1, 2], dtype="float64")
17011701
plt.plot(x, x)
17021702
plt.plot(x.index, x)
17031703
plt.plot(x)
1704+
plt.plot(x.index)
17041705

17051706

17061707
@image_comparison(['hist_log'], remove_text=True)

0 commit comments

Comments
 (0)