summaryrefslogtreecommitdiff
path: root/tests/test_python.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-10-16 21:00:59 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-10-16 21:00:59 -0400
commit5c4bbc3e0fc3d1a1cb0dffae37d4de6f3b29613e (patch)
tree29c7ed6e4b78e26dc04b7cf4e44c42f642a235be /tests/test_python.py
parent5d725e5e3280387feb24ea6112eea339ed8d3571 (diff)
downloadpython-coveragepy-git-5c4bbc3e0fc3d1a1cb0dffae37d4de6f3b29613e.tar.gz
Do a better job decoding source files. #431
Diffstat (limited to 'tests/test_python.py')
-rw-r--r--tests/test_python.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_python.py b/tests/test_python.py
index e510e786..ee1e1f95 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)