-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
TST: warnings on the doc-tests #23149
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
couple of instances of warnings from the doc-tests themselves. |
Didn't see those. Updated the description to make it easier for first time contributors to pick. |
I am not fully sure what we can do about this in general. Still, it would be nice to better catch this. One option might be to skip those docstrings of deprecated attributes/methods (with |
From https://api.travis-ci.org/v3/job/451403135/log.txt we're down to two warnings I think
I can't reproduce the parquet one. I'd recommend just skipping the
|
Works for me. Thanks or checking. |
update at
#23149 (comment)
In the examples sections in the docstrings in
pandas/core/generic.py
we have two lines that when executed raise future warnings and should be changed to the latest syntax. The doctest validation does not report the exact lines (it reports line 1, which is wrong), but should be easy to find them by the error messages:The whole logs from the doctests are available in:
https://travis-ci.org/pandas-dev/pandas/jobs/441069332
The text was updated successfully, but these errors were encountered: