Skip to content
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

BUG/TST : skip example pep8 if don't know source path #3597

Merged
merged 3 commits into from Oct 17, 2014

Conversation

tacaswell
Copy link
Member

closes #3596

@tacaswell tacaswell added this to the v1.5.x milestone Sep 30, 2014
@jenshnielsen
Copy link
Member

What about also trying os.getcwd() too That would make running tests.py from the main directory work too. Running from an interactive shell with matplotlib.test() still would not work but that is to be expected since the examples aren't installed.

Also should the KnownFailureTest suggest setting the env variable MPL_REPO_DIR

@jenshnielsen
Copy link
Member

Looks good and resolves the issue for me.

jenshnielsen added a commit that referenced this pull request Oct 17, 2014
BUG/TST : skip example pep8 if don't know source path
@jenshnielsen jenshnielsen merged commit 44ae5a8 into matplotlib:master Oct 17, 2014
@tacaswell tacaswell deleted the pep8_fix branch November 1, 2014 19:53
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.

Pep8 tests fails when running python tests.py from base mpl dir.
3 participants