summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_zlib.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-02-21 07:29:48 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-02-21 07:29:48 (GMT)
commit0009c4ea590b5bb4c00c33bc96dca47a42e720f1 (patch)
tree2abfdee35e04475cb7cd4f2065620174fe2f4943 /Lib/test/test_zlib.py
parentedf2210221f2803dfea62493ebff5eafd5cbc851 (diff)
downloadcpython-0009c4ea590b5bb4c00c33bc96dca47a42e720f1.zip
cpython-0009c4ea590b5bb4c00c33bc96dca47a42e720f1.tar.gz
cpython-0009c4ea590b5bb4c00c33bc96dca47a42e720f1.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib/test/test_zlib.py')
-rw-r--r--Lib/test/test_zlib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_zlib.py b/Lib/test/test_zlib.py
index 3b78399..198f0d9 100644
--- a/Lib/test/test_zlib.py
+++ b/Lib/test/test_zlib.py
@@ -92,7 +92,7 @@ for sync in [zlib.Z_NO_FLUSH, zlib.Z_SYNC_FLUSH, zlib.Z_FULL_FLUSH]:
# Test for the odd flushing bugs noted in 2.0, and hopefully fixed in 2.1
import random
-random.seed(1)
+random.seed(1)
print 'Testing on 17K of random data'
@@ -105,7 +105,7 @@ d=zlib.decompressobj()
a=""
for i in range(17*1024):
a=a+chr(random.randint(0,255))
-
+
# compress, sync-flush, and decompress
t = d.decompress( c.compress(a)+c.flush(zlib.Z_SYNC_FLUSH) )