419
419
from_url('file:///d:/path/to/r%c3%a4ksm%c3%b6rg%c3%a5s'))
420
420
self.assertEqual('/', from_url('file:///'))
424
422
self.assertRaises(InvalidURL, from_url, '/path/to/foo')
425
423
# Not a valid _win32 url, no drive letter
426
424
self.assertRaises(InvalidURL, from_url, 'file:///path/to/foo')