diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2015-10-16 21:00:59 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-10-16 21:00:59 -0400 |
commit | c731debc01e436609b73248f6dfd9581d039fc1a (patch) | |
tree | 709e551020ff2b6dd2a12e081fb14a1053e74204 /tests/test_python.py | |
parent | 9f269ac30b46038ee1fec1c89fb5b5fef5ce6678 (diff) | |
download | python-coveragepy-c731debc01e436609b73248f6dfd9581d039fc1a.tar.gz |
Do a better job decoding source files. #431
Diffstat (limited to 'tests/test_python.py')
-rw-r--r-- | tests/test_python.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |