]> granicus.if.org Git - python/commitdiff
normalize whitespace. caught by hook
authorSenthil Kumaran <senthil@uthcode.com>
Thu, 11 Apr 2013 03:54:23 +0000 (20:54 -0700)
committerSenthil Kumaran <senthil@uthcode.com>
Thu, 11 Apr 2013 03:54:23 +0000 (20:54 -0700)
Lib/test/test_urllib.py

index cf570474848397728ad37e6d0a36d19d3c6e73a5..b4b56d6d4ac4945a41e3fb672612c9a40335c528 100644 (file)
@@ -1417,7 +1417,7 @@ class URL2PathNameTests(unittest.TestCase):
                          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 @@ class PathName2URLTests(unittest.TestCase):
                          '/////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()