summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_zipfile.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2006-06-15 18:06:29 (GMT)
committerTim Peters <tim.peters@gmail.com>2006-06-15 18:06:29 (GMT)
commita608bb228cd4ce83a30f08dc292645ceb6108ed4 (patch)
treede3d322acbe7067b0d99a17f61f1a90636fd017e /Lib/test/test_zipfile.py
parent84b0f581ef974bfcc77fe954382759e36ca73c98 (diff)
downloadcpython-a608bb228cd4ce83a30f08dc292645ceb6108ed4.zip
cpython-a608bb228cd4ce83a30f08dc292645ceb6108ed4.tar.gz
cpython-a608bb228cd4ce83a30f08dc292645ceb6108ed4.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib/test/test_zipfile.py')
-rw-r--r--Lib/test/test_zipfile.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_zipfile.py b/Lib/test/test_zipfile.py
index a409d5c..54684f3 100644
--- a/Lib/test/test_zipfile.py
+++ b/Lib/test/test_zipfile.py
@@ -46,7 +46,7 @@ class TestsWithSourceFile(unittest.TestCase):
zipfp.printdir()
finally:
sys.stdout = stdout
-
+
directory = fp.getvalue()
lines = directory.splitlines()
self.assertEquals(len(lines), 4) # Number of files + header
@@ -133,13 +133,13 @@ class TestZip64InSmallFiles(unittest.TestCase):
def largeFileExceptionTest(self, f, compression):
zipfp = zipfile.ZipFile(f, "w", compression)
- self.assertRaises(zipfile.LargeZipFile,
+ self.assertRaises(zipfile.LargeZipFile,
zipfp.write, TESTFN, "another"+os.extsep+"name")
zipfp.close()
def largeFileExceptionTest2(self, f, compression):
zipfp = zipfile.ZipFile(f, "w", compression)
- self.assertRaises(zipfile.LargeZipFile,
+ self.assertRaises(zipfile.LargeZipFile,
zipfp.writestr, "another"+os.extsep+"name", self.data)
zipfp.close()
@@ -171,7 +171,7 @@ class TestZip64InSmallFiles(unittest.TestCase):
zipfp.printdir()
finally:
sys.stdout = stdout
-
+
directory = fp.getvalue()
lines = directory.splitlines()
self.assertEquals(len(lines), 4) # Number of files + header