Skip to content

Commit

Permalink
Merge pull request #2368 from mdboom/test/set-locale
Browse files Browse the repository at this point in the history
Set locale for tests
  • Loading branch information
mdboom committed Sep 3, 2013
2 parents f8263c2 + 7578ac4 commit 8d468f9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/matplotlib/tests/__init__.py
Expand Up @@ -8,6 +8,11 @@


def setup():
# The baseline images are created in this locale, so we should use
# it during all of the tests.
import locale
locale.setlocale(locale.LC_ALL, 'en_US.UTF-8')

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

# These settings *must* be hardcoded for running the comparison
Expand Down

0 comments on commit 8d468f9

Please sign in to comment.