]> granicus.if.org Git - python/commitdiff
skip the file localhost test on windows. Fix it on branch and modify the test
authorSenthil Kumaran <senthil@uthcode.com>
Tue, 23 Oct 2012 04:50:19 +0000 (21:50 -0700)
committerSenthil Kumaran <senthil@uthcode.com>
Tue, 23 Oct 2012 04:50:19 +0000 (21:50 -0700)
Lib/test/test_urllib.py

index 276568dad4eafa73ef549dbe03a49e6e0f58ebcc..71e80bc0b26b1ba336ba8336c80104bde31601db 100644 (file)
@@ -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