diff options
| author | Gregory P. Smith <greg@krypto.org> | 2014-01-06 17:51:32 (GMT) |
|---|---|---|
| committer | Gregory P. Smith <greg@krypto.org> | 2014-01-06 17:51:32 (GMT) |
| commit | f5dee4ddbd048cc63a2c149cb3388c41c0e09670 (patch) | |
| tree | fff92a30b7835c2a1f1d0036161e6952db652436 /Lib/test/test_zipimport.py | |
| parent | 7902f8ddaca62dc21675644e388e78b50d6d7e9c (diff) | |
| download | cpython-f5dee4ddbd048cc63a2c149cb3388c41c0e09670.zip cpython-f5dee4ddbd048cc63a2c149cb3388c41c0e09670.tar.gz cpython-f5dee4ddbd048cc63a2c149cb3388c41c0e09670.tar.bz2 | |
normalize whitespace from prior issue19081 fix commit.
Diffstat (limited to 'Lib/test/test_zipimport.py')
| -rw-r--r-- | Lib/test/test_zipimport.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_zipimport.py b/Lib/test/test_zipimport.py index 062e3d9..e31e217 100644 --- a/Lib/test/test_zipimport.py +++ b/Lib/test/test_zipimport.py @@ -70,11 +70,11 @@ def _write_zip_package(zipname, files, if data_to_prepend: # Prepend data to the start of the zipfile with open(zipname, "rb") as f: - zip_data = f.read() + zip_data = f.read() with open(zipname, "wb") as f: - f.write(data_to_prepend) - f.write(zip_data) + f.write(data_to_prepend) + f.write(zip_data) class UncompressedZipImportTestCase(ImportHooksBaseTestCase): |
