267
267
raise TestSkipped("local encoding cannot handle unicode")
271
271
def test_win32_local_path_from_url(self):
272
272
from_url = urlutils._win32_local_path_from_url
274
274
from_url('file:///C|/path/to/foo'))
276
276
from_url('file:///d|/path/to/r%C3%A4ksm%C3%B6rg%C3%A5s'))
278
278
from_url('file:///d:/path/to/r%c3%a4ksm%c3%b6rg%c3%a5s'))
280
280
self.assertRaises(InvalidURL, from_url, '/path/to/foo')