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

Avoid making nose a dependency for matplotlib.testing.compare #4555

Merged
merged 3 commits into from Jun 26, 2015

Conversation

astrofrog
Copy link
Contributor

This is done by moving the exceptions that are testing framework-independent into matplotlib.testing.exceptions. I want to use functions from matplotlib.testing.compare for pytest and it seems unecesary to have nose as a dependency too for those functions since they are more generic.

(have rebased and currently pushing to fork is taking a long time due to large repo size!)

…making nose a dependency for matplotlib.testing.compare
@astrofrog
Copy link
Contributor Author

@tacaswell - not sure what happened here, I think GitHub closed this because there were 0 commits for a small time. Will try re-opening.

@tacaswell
Copy link
Member

The pep8 test is unhappy, there are two missing blank lines and one too long line.

I suspect that the file you moved the exceptions out of was in the black list for pep8 checking.

@astrofrog
Copy link
Contributor Author

@tacaswell - thanks, should be fixed now (and also fixed a couple of issues in noseclasses.py which is now PEP8-compliant

@tacaswell
Copy link
Member

And to prove that good deed goes un-punished, the tests are now failing because a previously black listed file is passing, see https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/tests/test_coding_standards.py#L176

@tacaswell tacaswell added this to the next point release milestone Jun 26, 2015
@astrofrog
Copy link
Contributor Author

Fixed :) (hopefully...)

tacaswell added a commit that referenced this pull request Jun 26, 2015
ENH: No nose dependancy for matplotlib.testing.compare
@tacaswell tacaswell merged commit f505cd0 into matplotlib:master Jun 26, 2015
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.

None yet

2 participants