Skip to content

Commit 5b507b9

Browse files
committed
Fix test
1 parent d9e0939 commit 5b507b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_urllib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def test_remote_authority(self):
189189
with self.assertRaises(urllib.error.URLError) as e:
190190
urllib.request.urlopen(url)
191191
if os.name == 'nt':
192-
self.assertEqual(e.exception.reason, 'File not found')
192+
self.assertEqual(e.exception.reason, 'The network path was not found')
193193
self.assertEqual(e.exception.filename, r'\\pythontest.net\foo\bar')
194194
else:
195195
self.assertEqual(e.exception.reason, 'file:// scheme is supported only on localhost')

0 commit comments

Comments
 (0)