skip the file localhost test on windows. Fix it on branch and modify the test

This commit is contained in:
Senthil Kumaran 2012-10-22 21:50:19 -07:00
parent 3a81580719
commit c3633b6a78
1 changed files with 1 additions and 0 deletions

View 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