-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
API: expose public testing functions in pandas.testing (GH9895) #16003
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
API: expose public testing functions in pandas.testing (GH9895) #16003
Conversation
lgtm. need some whatsnew docs (but can prob add onto the |
Codecov Report
@@ Coverage Diff @@
## master #16003 +/- ##
==========================================
+ Coverage 91.02% 91.02% +<.01%
==========================================
Files 145 146 +1
Lines 50391 50394 +3
==========================================
+ Hits 45870 45873 +3
Misses 4521 4521
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #16003 +/- ##
=========================================
Coverage ? 91%
=========================================
Files ? 147
Lines ? 50422
Branches ? 0
=========================================
Hits ? 45887
Misses ? 4535
Partials ? 0
Continue to review full report at Codecov.
|
I did a quick search for which
I am not sure whether we want to commit to keeping some of the For the raises and warning ones, since those are not pandas-objects specific test functions, I would also not include them in the official public ones? |
|
pls rebase. lgtm. let's merge and can always amend/add to this. |
@@ -166,6 +166,21 @@ The following are now part of this API: | |||
'UnsortedIndexError', | |||
'UnsupportedFunctionCall'] | |||
|
|||
|
|||
.. _whatsnew_0200.enhancements.testing: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think both of these should be moved to the privacy
sub-section now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indeed, will need some general editing
Does this mean pytest is now a dependency of pandas? I just upgraded pandas through AUR and got this error message:
I do not have pytest installed. Is it now required? |
pytest is not required unless you are actually testing things - this is fixed in the rc unclear what version you actually have |
Closes #9895
This just exposes a few of our testing functions publicly in
pandas.testing
.pandas.testing
(the actual code), question is then however how to only expose a subset of it publicly.