diff --git a/tests/test_jsonyamlxml_parser.py b/tests/test_jsonyamlxml_parser.py index f65e01e64..dfac6d195 100644 --- a/tests/test_jsonyamlxml_parser.py +++ b/tests/test_jsonyamlxml_parser.py @@ -38,7 +38,7 @@ def check_document(self, document, expected_loc, regen=False): o.write(json.dumps(result, indent=2)) with io.open(expected_loc, encoding='utf-8') as ex: - expected = json.load(ex, encoding='utf-8', object_pairs_hook=OrderedDict) + expected = json.load(ex, object_pairs_hook=OrderedDict) self.assertEqual(expected, result)