[Python-checkins] cpython: normalize whitespace. caught by hook

senthil.kumaran python-checkins at python.org
Thu Apr 11 05:54:38 CEST 2013


http://hg.python.org/cpython/rev/6e9c138de0e9
changeset:   83243:6e9c138de0e9
user:        Senthil Kumaran <senthil at uthcode.com>
date:        Wed Apr 10 20:54:23 2013 -0700
summary:
  normalize whitespace. caught by hook

files:
  Lib/test/test_urllib.py |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Lib/test/test_urllib.py b/Lib/test/test_urllib.py
--- a/Lib/test/test_urllib.py
+++ b/Lib/test/test_urllib.py
@@ -1417,7 +1417,7 @@
                          r'C:\foo\bar\spam.foo'
                          ]
         for path in list_of_paths:
-                self.assertEqual(url2pathname(pathname2url(path)), path)
+            self.assertEqual(url2pathname(pathname2url(path)), path)
 
 class PathName2URLTests(unittest.TestCase):
 
@@ -1445,7 +1445,7 @@
                          '/////folder/test/',
                          '///C:/foo/bar/spam.foo']
         for path in list_of_paths:
-                self.assertEqual(pathname2url(url2pathname(path)), path)
+            self.assertEqual(pathname2url(url2pathname(path)), path)
 
 if __name__ == '__main__':
     unittest.main()

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list