Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b0ad594

Browse files
committed
Merge pull request #2386 from mdboom/fix-locale
locale breaks test suite
2 parents 7662361 + 7fb2e5b commit b0ad594

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def setup():
1111
# The baseline images are created in this locale, so we should use
1212
# it during all of the tests.
1313
import locale
14-
locale.setlocale(locale.LC_ALL, 'en_US.UTF-8')
14+
locale.setlocale(locale.LC_ALL, str('en_US.UTF-8'))
1515

1616
use('Agg', warn=False) # use Agg backend for these tests
1717

0 commit comments

Comments
 (0)