-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
TST: timeseries tests reorg #14854
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@jreback Is anyone working on this? |
nope - go for it do this is discrete mergeable pieces |
@jreback I have started with |
yes |
Will these tests come under |
@TrigonaMinima not sure what you mean. Let me espouse the general idea here. Keep individual tests exactly the same (and classes as much as possible). We want to first simply move things around to group similar things together. Next phases can dive deeper. |
xref #14854 Author: TrigonaMinima <[email protected]> Closes #15266 from TrigonaMinima/issue-14854-datetime and squashes the following commits: 6ee2bd9 [TrigonaMinima] TST: Splitting test_datetime.py into smaller chunks (gh14854) 415a748 [TrigonaMinima] TST: Moving DatetimeIndex related tests from test_timeseries.py and flake8 fixes c43c7de [TrigonaMinima] TST: proper naming of files 458d141 [TrigonaMinima] TST: splitting test_datetime.py 1ff0819 [TrigonaMinima] TST: fix flake8 errors - test_datetime.py (GH14854) 9311161 [TrigonaMinima] TST: reorg of DatetimeIndex tests from tseries/tests/test_base.py to test_datetime.py (GH14854) 54421a5 [TrigonaMinima] TST: reorg of DatetimeIndex tests from test_datetimelike.py to test_datetime.py (GH14854) f83814b [TrigonaMinima] TST: reorg of DatetimeIndex tests from test_timeseries.py to test_datetime.py
xref partial on pandas-dev#14854 Author: TrigonaMinima <[email protected]> Closes pandas-dev#15301 from TrigonaMinima/gh14854-timestamp and squashes the following commits: d8e3f4d [TrigonaMinima] splitting test_timeseries.py further 4072d93 [TrigonaMinima] TST: tseries/tests/test_timeseries.py tests moved to appropriate places. dbfd2ba [TrigonaMinima] TST: Timestamp tests compiled (gh14854)
xref pandas-dev#14854 Author: TrigonaMinima <[email protected]> Closes pandas-dev#15266 from TrigonaMinima/issue-14854-datetime and squashes the following commits: 6ee2bd9 [TrigonaMinima] TST: Splitting test_datetime.py into smaller chunks (gh14854) 415a748 [TrigonaMinima] TST: Moving DatetimeIndex related tests from test_timeseries.py and flake8 fixes c43c7de [TrigonaMinima] TST: proper naming of files 458d141 [TrigonaMinima] TST: splitting test_datetime.py 1ff0819 [TrigonaMinima] TST: fix flake8 errors - test_datetime.py (GH14854) 9311161 [TrigonaMinima] TST: reorg of DatetimeIndex tests from tseries/tests/test_base.py to test_datetime.py (GH14854) 54421a5 [TrigonaMinima] TST: reorg of DatetimeIndex tests from test_datetimelike.py to test_datetime.py (GH14854) f83814b [TrigonaMinima] TST: reorg of DatetimeIndex tests from test_timeseries.py to test_datetime.py
xref partial on pandas-dev#14854 Author: TrigonaMinima <[email protected]> Closes pandas-dev#15301 from TrigonaMinima/gh14854-timestamp and squashes the following commits: d8e3f4d [TrigonaMinima] splitting test_timeseries.py further 4072d93 [TrigonaMinima] TST: tseries/tests/test_timeseries.py tests moved to appropriate places. dbfd2ba [TrigonaMinima] TST: Timestamp tests compiled (gh14854)
Datetime
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-classesDatetimeIndex
,PeriodIndex
,TimedeltaIndex
), can move topandas/tests/indexes/tests_datetimelike.py
(and merge with the existingDatetimelike
class).create a
pandas/tests/scalar/test_timestamp.py
withTimestamp
specific testsThere are a lot of tests also in tseries/test_tslib.py, that can be merged into
test_timestamp.py
the residuals (from
tests_timeseries.py
are Series tests speficially, these can move topandas/tests/series/test_timeseries.py
Legacy Tests
Period
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)Timedelta
Timedelta
tests can be moved totests/scalar/test_timedelta.py
but move the index tests totests/indexes/test_timedelta.py
(which can be stripped from here and here)The text was updated successfully, but these errors were encountered: