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

Fix double running of explicitly chosen tests. #7498

Merged
merged 1 commit into from
Nov 23, 2016

Conversation

QuLogic
Copy link
Member

@QuLogic QuLogic commented Nov 22, 2016

Running python tests.py matplotlib.tests.... would run the chosen tests twice, causing errors when figures were closed from the first run and then missing in the second run. This is because sys.argv + extra_args produces the test list twice.

cc @Kojoley

Running `python tests.py matplotlib.tests....` would run the chosen
tests twice, causing errors when figures were closed from the first run
and then missing in the second run. This is because `sys.argv +
extra_args` produces the test list twice.
@QuLogic QuLogic added this to the 2.1 (next point release) milestone Nov 22, 2016
@QuLogic
Copy link
Member Author

QuLogic commented Nov 22, 2016

BTW, I'm pretty sure intentionally specifying a test twice (on the command-line) used to work, so there is still a regression there. This PR only fixes the case where a test is listed once and incorrectly gets run twice.

@NelleV NelleV changed the title [MRG] Fix double running of explicitly chosen tests. [MRG+1] Fix double running of explicitly chosen tests. Nov 22, 2016
@tacaswell
Copy link
Member

Merging on the theory that the one appveyor test that failed is transient (the test already has a higher tolerance on windows than the other platforms).

@tacaswell tacaswell merged commit 1512bee into matplotlib:master Nov 23, 2016
@QuLogic QuLogic deleted the dedup-tests branch November 23, 2016 21:53
@QuLogic QuLogic changed the title [MRG+1] Fix double running of explicitly chosen tests. Fix double running of explicitly chosen tests. Nov 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants