summaryrefslogtreecommitdiff
path: root/Lib/test/test_urllib.py
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2012-10-22 21:50:19 -0700
committerSenthil Kumaran <senthil@uthcode.com>2012-10-22 21:50:19 -0700
commit5e510b743183af46b7d1afcdbee7de1548b82bde (patch)
tree477241dc24bfffe2b64f63fcd2b5102c2e507824 /Lib/test/test_urllib.py
parente6a66964a281c2dada070de5793060370146e94b (diff)
downloadcpython-5e510b743183af46b7d1afcdbee7de1548b82bde.tar.gz
skip the file localhost test on windows. Fix it on branch and modify the test
Diffstat (limited to 'Lib/test/test_urllib.py')
-rw-r--r--Lib/test/test_urllib.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_urllib.py b/Lib/test/test_urllib.py
index 276568dad4..71e80bc0b2 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