349
350
from_url('file:///d|/path/to/r%C3%A4ksm%C3%B6rg%C3%A5s'))
350
351
self.assertEqual(u'D:/path/to/r\xe4ksm\xf6rg\xe5s',
351
352
from_url('file:///d:/path/to/r%c3%a4ksm%c3%b6rg%c3%a5s'))
354
355
self.assertRaises(InvalidURL, from_url, '/path/to/foo')
355
356
# Not a valid _win32 url, no drive letter