Another fix to tests, broken by recent Python changes

This commit is contained in:
Pablo Hoffman 2010-09-26 21:09:14 -03:00
parent 5d4e0655d0
commit 3db8d367c4
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ class UrlUtilsTest(unittest.TestCase):
fn = "test.txt"
x = path_to_file_uri(fn)
self.assert_(x.startswith('file:///'))
self.assertEqual(file_uri_to_path(x), os.path.abspath(fn))
self.assertEqual(file_uri_to_path(x).lower(), os.path.abspath(fn).lower())
def test_file_uri_to_path(self):
if os.name == 'nt':