From 7fb2e5b1a8a44bfc823bfbc755acfb25c1430566 Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Thu, 5 Sep 2013 19:50:35 -0400 Subject: [PATCH] Fix #2386 --- lib/matplotlib/tests/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/tests/__init__.py b/lib/matplotlib/tests/__init__.py index 6b115d62f28f..7b181d438071 100644 --- a/lib/matplotlib/tests/__init__.py +++ b/lib/matplotlib/tests/__init__.py @@ -11,7 +11,7 @@ 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') + locale.setlocale(locale.LC_ALL, str('en_US.UTF-8')) use('Agg', warn=False) # use Agg backend for these tests