]> granicus.if.org Git - python/commitdiff
Whitespace normalization.
authorTim Peters <tim.peters@gmail.com>
Wed, 21 Feb 2001 07:29:48 +0000 (07:29 +0000)
committerTim Peters <tim.peters@gmail.com>
Wed, 21 Feb 2001 07:29:48 +0000 (07:29 +0000)
Lib/test/test_compile.py
Lib/test/test_minidom.py
Lib/test/test_support.py
Lib/test/test_zlib.py

index cb240601aa3029d671237c2819ae0b14dd40d633..17d35006ea5fc710c9c37151cb1e7d1c9a5730dd 100644 (file)
@@ -24,7 +24,7 @@ except SyntaxError:
 print "testing complex args"
 
 def comp_args((a, b)):
-    print a,b  
+    print a,b
 
 comp_args((1, 2))
 
index 5cc1e692938b066631eed733e4a60e848fe46f94..5ff1beb90b6f43071e8006adfc35523696fd0588 100644 (file)
@@ -98,7 +98,7 @@ def testLegalChildren():
     else:
         print "dom.appendChild didn't raise HierarchyRequestErr"
 
-    nodemap = elem.attributes 
+    nodemap = elem.attributes
     try: nodemap.setNamedItem(text)
     except HierarchyRequestErr: pass
     else:
index 3a20b2e47479286370656390ce27a8b05418f872..d77120e015b756ab9e3dd37a9b108e1c61a5b0a4 100644 (file)
@@ -87,4 +87,3 @@ def check_syntax(statement):
         pass
     else:
         print 'Missing SyntaxError: "%s"' % statement
-
index 3b783999d5aeebfe66138617c5ec7fe0503c652f..198f0d9ef1df0d236cb5447f3c890f33838a617e 100644 (file)
@@ -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) )