From c3633b6a78a727ee721b6f72b4a746db4276830e Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Mon, 22 Oct 2012 21:50:19 -0700 Subject: skip the file localhost test on windows. Fix it on branch and modify the test --- Lib/test/test_urllib.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_urllib.py b/Lib/test/test_urllib.py index 276568d..71e80bc 100644 --- a/Lib/test/test_urllib.py +++ b/Lib/test/test_urllib.py @@ -275,6 +275,7 @@ Content-Type: text/html; charset=iso-8859-1 self.assertTrue(e.exception.filename) self.assertTrue(e.exception.reason) + @unittest.skipIf(sys.platform == "win32", "Skip on Windows: issue16300") def test_file_notexists(self): fd, tmp_file = tempfile.mkstemp() tmp_fileurl = 'file://localhost' + tmp_file -- cgit v0.12