Mercurial > cpython-lru_cache-weakref
diff Lib/test/test_httpservers.py @ 81994:086eb1fe3082 3.2
Do not raise self.skipTest().
skipTest() already raises an exception.
| author | Serhiy Storchaka <storchaka@gmail.com> |
|---|---|
| date | Mon, 04 Feb 2013 15:45:00 +0200 |
| parents | 247d3e3c08ca |
| children | 872ede983e7b dda1a32748e0 |
line wrap: on
line diff
--- a/Lib/test/test_httpservers.py Mon Feb 04 15:19:37 2013 +0200 +++ b/Lib/test/test_httpservers.py Mon Feb 04 15:45:00 2013 +0200 @@ -340,8 +340,7 @@ self.pythonexe.encode('utf-8') except UnicodeEncodeError: self.tearDown() - raise self.skipTest( - "Python executable path is not encodable to utf-8") + self.skipTest("Python executable path is not encodable to utf-8") self.file1_path = os.path.join(self.cgi_dir, 'file1.py') with open(self.file1_path, 'w', encoding='utf-8') as file1:
