Skip to content

DOC: correct examples for "is_iterator" #31295

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

Closed
wants to merge 2 commits into from

Conversation

ShaharNaveh
Copy link
Member

@@ -309,6 +309,10 @@ if [[ -z "$CHECK" || "$CHECK" == "doctests" ]]; then
pytest -q --doctest-modules pandas/core/arrays/boolean.py
RET=$(($RET + $?)) ; echo $MSG "DONE"

MSG='Doctests dtypes/inference.py' ; echo $MSG
pytest -q --doctest-modules pandas/core/dtypes/inference.py -k "is_iterator"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think need to special case these - is doctest maybe just not being run?

Copy link
Member Author

@ShaharNaveh ShaharNaveh Jan 25, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doctests are being run, but only for specific files (and for some only for specific functions/methods).

https://github.com/pandas-dev/pandas/blob/2170f4e49bdd6e7bb0441f142fce9528c0c6c422/ci/code_checks.sh#L261-#L310

(Most recent version at the time of writing this)

Those are the only ones who are currently being tested.

@gfyoung gfyoung added the Docs label Jan 25, 2020
@ShaharNaveh
Copy link
Member Author

Closing as this is already got fixed :)

@ShaharNaveh ShaharNaveh deleted the DOC-is-iterator branch January 30, 2020 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

is_iterator doctest incorrect for list
3 participants