Skip to content

Commit 89c8b13

Browse files
committed
TST: Move plotting related tests to tests/plotting
1 parent c9a27ed commit 89c8b13

11 files changed

+2533
-2409
lines changed

pandas/tests/plotting/__init__.py

Whitespace-only changes.

pandas/tests/plotting/common.py

+552
Large diffs are not rendered by default.

pandas/tests/plotting/test_boxplot_method.py

+374
Large diffs are not rendered by default.

pandas/tseries/tests/test_plotting.py renamed to pandas/tests/plotting/test_datetimelike.py

+8-2
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,18 @@
1414
from pandas.util.testing import assert_series_equal, ensure_clean, slow
1515
import pandas.util.testing as tm
1616

17-
from pandas.tests.test_graphics import _skip_if_no_scipy_gaussian_kde
17+
from pandas.tests.plotting.common import (TestPlotBase,
18+
_skip_if_no_scipy_gaussian_kde)
19+
20+
21+
""" Test cases for time series specific (freq conversion, etc) """
1822

1923

2024
@tm.mplskip
21-
class TestTSPlot(tm.TestCase):
25+
class TestTSPlot(TestPlotBase):
26+
2227
def setUp(self):
28+
TestPlotBase.setUp(self)
2329
freq = ['S', 'T', 'H', 'D', 'W', 'M', 'Q', 'A']
2430
idx = [period_range('12/31/1999', freq=x, periods=100) for x in freq]
2531
self.period_ser = [Series(np.random.randn(len(x)), x) for x in idx]

0 commit comments

Comments
 (0)