From: Senthil Kumaran Date: Tue, 23 Oct 2012 04:50:19 +0000 (-0700) Subject: skip the file localhost test on windows. Fix it on branch and modify the test X-Git-Tag: v3.4.0a1~2184^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c3633b6a78a727ee721b6f72b4a746db4276830e;p=thirdparty%2FPython%2Fcpython.git skip the file localhost test on windows. Fix it on branch and modify the test --- diff --git a/Lib/test/test_urllib.py b/Lib/test/test_urllib.py index 276568dad4ea..71e80bc0b26b 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