mirror of
https://github.com/python/cpython.git
synced 2025-11-26 13:22:51 +00:00
normalize whitespace. caught by hook
This commit is contained in:
parent
8b081b7ba1
commit
c7e0980259
1 changed files with 2 additions and 2 deletions
|
|
@ -1417,7 +1417,7 @@ class URL2PathNameTests(unittest.TestCase):
|
||||||
r'C:\foo\bar\spam.foo'
|
r'C:\foo\bar\spam.foo'
|
||||||
]
|
]
|
||||||
for path in list_of_paths:
|
for path in list_of_paths:
|
||||||
self.assertEqual(url2pathname(pathname2url(path)), path)
|
self.assertEqual(url2pathname(pathname2url(path)), path)
|
||||||
|
|
||||||
class PathName2URLTests(unittest.TestCase):
|
class PathName2URLTests(unittest.TestCase):
|
||||||
|
|
||||||
|
|
@ -1445,7 +1445,7 @@ class PathName2URLTests(unittest.TestCase):
|
||||||
'/////folder/test/',
|
'/////folder/test/',
|
||||||
'///C:/foo/bar/spam.foo']
|
'///C:/foo/bar/spam.foo']
|
||||||
for path in list_of_paths:
|
for path in list_of_paths:
|
||||||
self.assertEqual(pathname2url(url2pathname(path)), path)
|
self.assertEqual(pathname2url(url2pathname(path)), path)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue