[Python-checkins] r78373 - python/trunk/Lib/test/test_format.py

mark.dickinson python-checkins at python.org
Tue Feb 23 14:06:51 CET 2010


Author: mark.dickinson
Date: Tue Feb 23 14:06:50 2010
New Revision: 78373

Log:
Fix spacing nit.  Thanks Eric Smith for the public humiliation.

Modified:
   python/trunk/Lib/test/test_format.py

Modified: python/trunk/Lib/test/test_format.py
==============================================================================
--- python/trunk/Lib/test/test_format.py	(original)
+++ python/trunk/Lib/test/test_format.py	Tue Feb 23 14:06:50 2010
@@ -55,18 +55,18 @@
 class FormatTest(unittest.TestCase):
     def test_format(self):
         testboth("%.1d", (1,), "1")
-        testboth("%.*d", (sys.maxint,1), overflowok = True)  # expect overflow
+        testboth("%.*d", (sys.maxint,1), overflowok=True)  # expect overflow
         testboth("%.100d", (1,), '00000000000000000000000000000000000000'
                  '000000000000000000000000000000000000000000000000000000'
-                 '00000001', overflowok = True)
+                 '00000001', overflowok=True)
         testboth("%#.117x", (1,), '0x00000000000000000000000000000000000'
                  '000000000000000000000000000000000000000000000000000000'
                  '0000000000000000000000000001',
-                 overflowok = True)
+                 overflowok=True)
         testboth("%#.118x", (1,), '0x00000000000000000000000000000000000'
                  '000000000000000000000000000000000000000000000000000000'
                  '00000000000000000000000000001',
-                 overflowok = True)
+                 overflowok=True)
 
         testboth("%f", (1.0,), "1.000000")
         # these are trying to test the limits of the internal magic-number-length


More information about the Python-checkins mailing list