summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_httpservers.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-02-04 13:45:58 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-02-04 13:45:58 (GMT)
commit8b27f23e02932d0382ffe02c7848104c30d0802e (patch)
tree7f31f161a56737f5c2011b8d81c83879f7bdbe6f /Lib/test/test_httpservers.py
parent358751e7bd3dfaf98009f87b1bfeb092435c0136 (diff)
parent0b4591e0eb80b78b4c6a4aa6a4071c74c253bde7 (diff)
downloadcpython-8b27f23e02932d0382ffe02c7848104c30d0802e.zip
cpython-8b27f23e02932d0382ffe02c7848104c30d0802e.tar.gz
cpython-8b27f23e02932d0382ffe02c7848104c30d0802e.tar.bz2
Do not raise self.skipTest().
skipTest() already raises an exception.
Diffstat (limited to 'Lib/test/test_httpservers.py')
-rw-r--r--Lib/test/test_httpservers.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_httpservers.py b/Lib/test/test_httpservers.py
index 75133c9..03c0776 100644
--- a/Lib/test/test_httpservers.py
+++ b/Lib/test/test_httpservers.py
@@ -340,8 +340,7 @@ class CGIHTTPServerTestCase(BaseTestCase):
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: