TST: timeseries tests reorg · Issue #14854 · pandas-dev/pandas (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Description
Datetime
- We have some DatetimeIndex tests in here and some in here and a lot here (PR #14854: DatetimeIndex compiled together in test_datetime.py #15266)
we can separate these out to a single file in pandas/tests/indexes/test_datetime.py
The Base
class (which powers lots of tests for the sub-classes DatetimeIndex
, PeriodIndex
, TimedeltaIndex
), can move to pandas/tests/indexes/tests_datetimelike.py
(and merge with the existing Datetimelike
class).
- create a
pandas/tests/scalar/test_timestamp.py
withTimestamp
specific tests
There are a lot of tests also in tseries/test_tslib.py, that can be merged intotest_timestamp.py
- the residuals (from
tests_timeseries.py
are Series tests speficially, these can move topandas/tests/series/test_timeseries.py
Legacy Tests
- timeseries_legacy need a look, but can prob be deleted
Period
- same idea with Period, the actual
Period
tests can be moved totests/scalar/test_period.py
, but move the index tests totests/indexes/test_period.py
(which can be stripped from here and here)