-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
TST: test_assert_index check index attributes #13242
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
I already have a branch which checks https://github.com/sinhrks/pandas/tree/test_periodindex |
How about comparing the |
There are mandatory and optional check. For example, our tests do something like |
xref to #13242 closes #13251 Author: sinhrks <[email protected]> Closes #13250 from sinhrks/period_test and squashes the following commits: 33a04f3 [sinhrks] TST/ERR: Add Period ops tests / fix error message
Thanks. Because #13250 only covers |
ok great! |
Looks like all the above are implemented. Going to close this issue |
PeriodIndex.freq
(mandatory), TST/ERR: Add Period ops tests / fix error message #13250DatetimeIndex.tz
(mandatory)DatetimeIndex.freq
(addcheck_freq
option with default False, because lots of tests compare op result (lost freq) and expected result created bydate_range
(has freq))TimedeltaIndex.freq
(same as above), TST/ERR: Add Period ops tests / fix error message #13250CategoricalIndex
internals (.codes
and.categories
) (ref TST: assert_series/frame not comparing for categoricals #13076, addcheck_categorical
with default True), PR #TST: check internal Categorical #13249The text was updated successfully, but these errors were encountered: