aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xjson_diff.py2
-rw-r--r--test_json_diff.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/json_diff.py b/json_diff.py
index e07d598..4f6f495 100755
--- a/json_diff.py
+++ b/json_diff.py
@@ -32,7 +32,7 @@ import logging
from optparse import OptionParser
__author__ = "Matěj Cepl"
-__version__ = "1.2.1"
+__version__ = "1.2.2"
import locale
diff --git a/test_json_diff.py b/test_json_diff.py
index 7fb713a..377a4cf 100644
--- a/test_json_diff.py
+++ b/test_json_diff.py
@@ -197,7 +197,7 @@ class TestMainArgsMgmt(unittest.TestCase):
save_stdout = StringIO()
sys.stdout = save_stdout
cur_loc = locale.getlocale()
- locale.setlocale(locale.LC_ALL, ("cs_CZ", "utf-8"))
+ locale.setlocale(locale.LC_ALL, "cs_CZ.utf8")
res = json_diff.main(["./test_json_diff.py",
"test/old.json", "test/new.json"])