From c731debc01e436609b73248f6dfd9581d039fc1a Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Fri, 16 Oct 2015 21:00:59 -0400 Subject: Do a better job decoding source files. #431 --- tests/test_python.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_python.py') diff --git a/tests/test_python.py b/tests/test_python.py index e510e78..ee1e1f9 100644 --- a/tests/test_python.py +++ b/tests/test_python.py @@ -20,7 +20,7 @@ class GetZipBytesTest(CoverageTest): # See igor.py, do_zipmods, for the text of these files. zip_file = "tests/zipmods.zip" sys.path.append(zip_file) # So we can import the files. - for encoding in ["utf8", "gb2312", "hebrew", "shift_jis"]: + for encoding in ["utf8", "gb2312", "hebrew", "shift_jis", "cp1252"]: filename = zip_file + "/encoded_" + encoding + ".py" filename = filename.replace("/", os.sep) zip_data = get_zip_bytes(filename) -- cgit v1.2.1