X Tutup
Skip to content

Save SVG test directly to file instead of its name.#7668

Merged
tacaswell merged 1 commit intomatplotlib:masterfrom
QuLogic:fix-svg-test-windows
Dec 23, 2016
Merged

Save SVG test directly to file instead of its name.#7668
tacaswell merged 1 commit intomatplotlib:masterfrom
QuLogic:fix-svg-test-windows

Conversation

@QuLogic
Copy link
Copy Markdown
Member

@QuLogic QuLogic commented Dec 22, 2016

Windows doesn't like opening files twice, so this needs to save to the file name outside the context (after it's been closed), or simply write to the file object directly. There doesn't seem to be any pressing need to use the file name, so just use the file object.

Hopefully, this will fix AppVeyor.

Windows doesn't like opening files twice, so this needs to save to the
file name _outside_ the context (after it's been closed), or simply
write to the file object directly. There doesn't seem to be any pressing
need to use the file name, so just use the file object.
@QuLogic QuLogic added this to the 2.1 (next point release) milestone Dec 22, 2016
@QuLogic
Copy link
Copy Markdown
Member Author

QuLogic commented Dec 22, 2016

Not sure why this didn't fail in #6428 originally, but the timing seems close enough.

@QuLogic QuLogic requested review from Kojoley and jkseppan December 22, 2016 23:17
@codecov-io
Copy link
Copy Markdown

Current coverage is 62.07% (diff: 100%)

Merging #7668 into master will decrease coverage by 4.50%

@@             master      #7668   diff @@
==========================================
  Files           109        174     +65   
  Lines         46633      56007   +9374   
  Methods           0          0           
  Messages          0          0           
  Branches          0          0           
==========================================
+ Hits          31049      34765   +3716   
- Misses        15584      21242   +5658   
  Partials          0          0           

Powered by Codecov. Last update 7131876...2679ddd

@QuLogic
Copy link
Copy Markdown
Member Author

QuLogic commented Dec 23, 2016

Yay, it passed!

@tacaswell tacaswell merged commit 8b80068 into matplotlib:master Dec 23, 2016
@QuLogic QuLogic deleted the fix-svg-test-windows branch December 23, 2016 02:38
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

X Tutup