34
34
if sys.platform == 'win32':
35
35
self.assertRaises(InvalidURL, basename, 'file:///path/to/foo')
36
36
self.assertEqual('foo', basename('file:///C|/foo'))
39
40
self.assertEqual('foo', basename('file:///foo'))
40
41
self.assertEqual('', basename('file:///'))