Skip to content

Commit d86cbc6

Browse files
committed
Don't test localised OS error string
1 parent 5b507b9 commit d86cbc6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Lib/test/test_urllib.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ 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, 'The network path was not found')
193192
self.assertEqual(e.exception.filename, r'\\pythontest.net\foo\bar')
194193
else:
195194
self.assertEqual(e.exception.reason, 'file:// scheme is supported only on localhost')

0 commit comments

Comments
 (0)