summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_urllib.py
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2012-10-23 04:50:19 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2012-10-23 04:50:19 (GMT)
commitc3633b6a78a727ee721b6f72b4a746db4276830e (patch)
treeb951fc26a7ea59b8807a671ba32f7da7c429be9f /Lib/test/test_urllib.py
parent3a8158071929ad1a1e58d1540dab21d44b2fdb61 (diff)
downloadcpython-c3633b6a78a727ee721b6f72b4a746db4276830e.zip
cpython-c3633b6a78a727ee721b6f72b4a746db4276830e.tar.gz
cpython-c3633b6a78a727ee721b6f72b4a746db4276830e.tar.bz2
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 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