From 280a9ab2056ae33616528955e99a419632d92b3b Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 27 Dec 2014 10:01:32 -0500 Subject: Two windows fixes for tests --- tests/test_files.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/test_files.py') diff --git a/tests/test_files.py b/tests/test_files.py index 62d3e32..d7b8bd4 100644 --- a/tests/test_files.py +++ b/tests/test_files.py @@ -262,6 +262,7 @@ class GetZipBytesTest(CoverageTest): sys.path.append(zip_file) # So we can import the files. for encoding in ["utf8", "gb2312", "hebrew", "shift_jis"]: filename = zip_file + "/encoded_" + encoding + ".py" + filename = filename.replace("/", os.sep) zip_data = get_zip_bytes(filename) zip_text = zip_data.decode(encoding) self.assertIn('All OK', zip_text) -- cgit v1.2.1