Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[noWIP] Pytest doctests #9465

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 3 commits into from
Closed

Conversation

amueller
Copy link
Member

Starting on #9445.
Something really weird is happening with the text_analytics docs for me locally. The python files on disk get changed by running the tests and then they fail with ImportMismatchError.
Also, it seems pytest just runs all python files, and the exercises have no if __name__ == "__main__" protection, so they fail.

@amueller amueller changed the title Pytest doctests [WIP] Pytest doctests Aug 1, 2017
@amueller
Copy link
Member Author

amueller commented Aug 1, 2017

I'm not really actively working on this, just wanted to see the errors ;)

@amueller amueller changed the title [WIP] Pytest doctests [noWIP] Pytest doctests Aug 1, 2017
@amueller
Copy link
Member Author

amueller commented Aug 1, 2017

Lol it's crashing because it's downloading the wikipedia data, I think.... I skipped that for now, I don't think it was tested beforehand.
There are still two fixtures that need fixing

@lesteve
Copy link
Member

lesteve commented Sep 6, 2017

Closing in favour of #9697.

@lesteve lesteve closed this Sep 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants