Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f5dee4d

Browse files
committed
normalize whitespace from prior issue19081 fix commit.
1 parent 7902f8d commit f5dee4d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Lib/test/test_zipimport.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ def _write_zip_package(zipname, files,
7070
if data_to_prepend:
7171
# Prepend data to the start of the zipfile
7272
with open(zipname, "rb") as f:
73-
zip_data = f.read()
73+
zip_data = f.read()
7474

7575
with open(zipname, "wb") as f:
76-
f.write(data_to_prepend)
77-
f.write(zip_data)
76+
f.write(data_to_prepend)
77+
f.write(zip_data)
7878

7979

8080
class UncompressedZipImportTestCase(ImportHooksBaseTestCase):

0 commit comments

Comments
 (0)