normalize whitespace. caught by hook
This commit is contained in:
parent
8b081b7ba1
commit
c7e0980259
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue