diff options
author | Senthil Kumaran <senthil@uthcode.com> | 2012-10-23 16:40:53 (GMT) |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2012-10-23 16:40:53 (GMT) |
commit | 3194d7cfcef24bf69436cb430b751c74838392e1 (patch) | |
tree | e8275893705394e7769a532edccdd159d954c6d3 /Lib/test/test_urllib.py | |
parent | 32e46089a9b1acd531c08135659e7331402b7065 (diff) | |
download | cpython-3194d7cfcef24bf69436cb430b751c74838392e1.zip cpython-3194d7cfcef24bf69436cb430b751c74838392e1.tar.gz cpython-3194d7cfcef24bf69436cb430b751c74838392e1.tar.bz2 |
Fix issue16300: addressing the buildbot failures on windows
Diffstat (limited to 'Lib/test/test_urllib.py')
-rw-r--r-- | Lib/test/test_urllib.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_urllib.py b/Lib/test/test_urllib.py index 71e80bc..2eac4e3 100644 --- a/Lib/test/test_urllib.py +++ b/Lib/test/test_urllib.py @@ -275,10 +275,9 @@ 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 + tmp_fileurl = 'file://localhost/' + tmp_file.replace(os.path.sep, '/') self.assertTrue(os.path.exists(tmp_file)) with urlopen(tmp_fileurl) as fobj: |