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