aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/multibytecodec_support.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/multibytecodec_support.py')
-rw-r--r--Lib/test/multibytecodec_support.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/multibytecodec_support.py b/Lib/test/multibytecodec_support.py
index f76c0153f5e..dbf0cc428e3 100644
--- a/Lib/test/multibytecodec_support.py
+++ b/Lib/test/multibytecodec_support.py
@@ -296,7 +296,7 @@ class TestBase_Mapping(unittest.TestCase):
self.skipTest("Could not retrieve "+self.mapfileurl)
def open_mapping_file(self):
- return support.open_urlresource(self.mapfileurl)
+ return support.open_urlresource(self.mapfileurl, encoding="utf-8")
def test_mapping_file(self):
if self.mapfileurl.endswith('.xml'):