[Python-checkins] r51617 - in python/trunk: Lib/test/test_parser.py Lib/test/test_tokenize.py Tools/msi/msi.py

tim.peters python-checkins at python.org
Sat Aug 26 00:05:40 CEST 2006


Author: tim.peters
Date: Sat Aug 26 00:05:39 2006
New Revision: 51617

Modified:
   python/trunk/Lib/test/test_parser.py
   python/trunk/Lib/test/test_tokenize.py
   python/trunk/Tools/msi/msi.py
Log:
Whitespace normalization.


Modified: python/trunk/Lib/test/test_parser.py
==============================================================================
--- python/trunk/Lib/test/test_parser.py	(original)
+++ python/trunk/Lib/test/test_parser.py	Sat Aug 26 00:05:39 2006
@@ -199,7 +199,7 @@
                         yield x
             else:
                 yield tree
-            
+
         terminals = list(walk(st2))
         self.assertEqual([
             (1, 'def', 1, 0),

Modified: python/trunk/Lib/test/test_tokenize.py
==============================================================================
--- python/trunk/Lib/test/test_tokenize.py	(original)
+++ python/trunk/Lib/test/test_tokenize.py	Sat Aug 26 00:05:39 2006
@@ -33,7 +33,7 @@
 COMMENT     '# NEWLINE'   (3, 17) (3, 26)
 NEWLINE     '\\n'          (3, 26) (3, 27)
 DEDENT      ''            (4, 0) (4, 0)
-                                                    
+
 
 There will be a bunch more tests of specific source patterns.
 
@@ -43,7 +43,7 @@
 There are some standard formatting practices that are easy to get right.
 
 >>> roundtrip("if x == 1:\\n"
-...           "    print x\\n")               
+...           "    print x\\n")
 if x == 1:
     print x
 
@@ -53,7 +53,7 @@
 
 >>> roundtrip("if   x  ==  1  :  \\n"
 ...           "  print x\\n")
-if   x  ==  1  :  
+if   x  ==  1  :
   print x
 
 Comments need to go in the right place.

Modified: python/trunk/Tools/msi/msi.py
==============================================================================
--- python/trunk/Tools/msi/msi.py	(original)
+++ python/trunk/Tools/msi/msi.py	Sat Aug 26 00:05:39 2006
@@ -877,7 +877,7 @@
     if not have_ctypes:
         print "WARNING: _ctypes.pyd not found, ctypes will not be included"
         extensions.remove("_ctypes.pyd")
-    
+
     # Add all .py files in Lib, except lib-tk, test
     dirs={}
     pydirs = [(root,"Lib")]


More information about the Python-checkins mailing list