X Tutup
Skip to content

Cleanup visual_tests and disable browser opening#8018

Merged
tacaswell merged 8 commits intomatplotlib:masterfrom
QuLogic:visual-no-browser
Mar 12, 2017
Merged

Cleanup visual_tests and disable browser opening#8018
tacaswell merged 8 commits intomatplotlib:masterfrom
QuLogic:visual-no-browser

Conversation

@QuLogic
Copy link
Copy Markdown
Member

@QuLogic QuLogic commented Feb 4, 2017

Intermixing HTML and code makes this file very difficult to read (for me, at least), so change it to use some simple template forms.

Also, don't automatically open the browser on CI because AppVeyor has one installed and it's a waste to open it.

@QuLogic QuLogic added this to the 2.1 (next point release) milestone Feb 4, 2017
@anntzer
Copy link
Copy Markdown
Contributor

anntzer commented Feb 4, 2017

Perhaps this script should be moved next to tools/test_triage.py, and the two named consistently?

@QuLogic
Copy link
Copy Markdown
Member Author

QuLogic commented Feb 6, 2017

Done.

@QuLogic
Copy link
Copy Markdown
Member Author

QuLogic commented Feb 21, 2017

Rebased to fix conflicts.


import matplotlib
matplotlib.use('agg')
matplotlib.use('agg') # noqa
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

What does the comment mean?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Skip flake8/pep8 issues with this line. (This line causes a warning about imports not at the top of the file.)

Copy link
Copy Markdown
Member

@NelleV NelleV left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@NelleV NelleV changed the title Cleanup visual_tests and disable browser opening [MRG+1] Cleanup visual_tests and disable browser opening Feb 24, 2017
@tacaswell tacaswell merged commit 87a4c3e into matplotlib:master Mar 12, 2017
@QuLogic QuLogic changed the title [MRG+1] Cleanup visual_tests and disable browser opening Cleanup visual_tests and disable browser opening Mar 12, 2017
@QuLogic QuLogic deleted the visual-no-browser branch March 12, 2017 21:54
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.

4 participants

X Tutup