summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_httpservers.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-02-04 13:45:00 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-02-04 13:45:00 (GMT)
commit0b4591e0eb80b78b4c6a4aa6a4071c74c253bde7 (patch)
treed52e23bdd734defa46f928dbcc7fe0f368b45e14 /Lib/test/test_httpservers.py
parenta66b46aad6889e9aba374e856e10ba1cf30d574c (diff)
downloadcpython-0b4591e0eb80b78b4c6a4aa6a4071c74c253bde7.zip
cpython-0b4591e0eb80b78b4c6a4aa6a4071c74c253bde7.tar.gz
cpython-0b4591e0eb80b78b4c6a4aa6a4071c74c253bde7.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 d9e4063..d71da1a 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: