Skip to content

Commit

Permalink
TST: Move plotting related tests to tests/plotting (#13621)
Browse files Browse the repository at this point in the history
related to #13579
  • Loading branch information
sinhrks authored and jorisvandenbossche committed Jul 22, 2016
1 parent 253ed5d commit 9f94e6a
Show file tree
Hide file tree
Showing 11 changed files with 2,533 additions and 2,409 deletions.
Empty file.
552 changes: 552 additions & 0 deletions pandas/tests/plotting/common.py

Large diffs are not rendered by default.

374 changes: 374 additions & 0 deletions pandas/tests/plotting/test_boxplot_method.py

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,18 @@
from pandas.util.testing import assert_series_equal, ensure_clean, slow
import pandas.util.testing as tm

from pandas.tests.test_graphics import _skip_if_no_scipy_gaussian_kde
from pandas.tests.plotting.common import (TestPlotBase,
_skip_if_no_scipy_gaussian_kde)


""" Test cases for time series specific (freq conversion, etc) """


@tm.mplskip
class TestTSPlot(tm.TestCase):
class TestTSPlot(TestPlotBase):

def setUp(self):
TestPlotBase.setUp(self)
freq = ['S', 'T', 'H', 'D', 'W', 'M', 'Q', 'A']
idx = [period_range('12/31/1999', freq=x, periods=100) for x in freq]
self.period_ser = [Series(np.random.randn(len(x)), x) for x in idx]
Expand Down
Loading

0 comments on commit 9f94e6a

Please sign in to comment.