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

BF: protect against locale in sphinext text #6601

Merged
merged 1 commit into from
Jul 2, 2016

Conversation

matthew-brett
Copy link
Contributor

The sphinxext tests were loading a text file with encoding not stated,
making the test sensitive to the default locale of the testing machine.

See:
https://travis-ci.org/matthew-brett/matplotlib-wheels/jobs/138518917#L8787

Read the text file as binary to avoid need for encoding.

The sphinxext tests were loading a text file with encoding not stated,
making the test sensitive to the default locale of the testing machine.

See:
https://travis-ci.org/matthew-brett/matplotlib-wheels/jobs/138518917#L8787

Read the text file as binary to avoid need for encoding.
@tacaswell tacaswell merged commit b1d9443 into matplotlib:master Jul 2, 2016
@QuLogic
Copy link
Member

QuLogic commented Jul 5, 2016

This should probably be backported?

tacaswell added a commit that referenced this pull request Jul 10, 2016
BF: protect against locale in sphinext text

Conflicts:
	lib/matplotlib/sphinxext/tests/test_tinypages.py
	    backport minimal changes
@tacaswell
Copy link
Member

(finally) Backported to v2.x as 76fd818

@QuLogic QuLogic added this to the 2.0 (style change major release) milestone Jul 10, 2016
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.

4 participants