summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_httpservers.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-02-04 13:46:18 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-02-04 13:46:18 (GMT)
commit06f63d094f2f05c0ca5743791121eee5ab8a82da (patch)
tree0a1eb21af3df430772852c65ee48b63eb776689e /Lib/test/test_httpservers.py
parentac06352c7041cf4f4c1cf91dfa375b1b42a5e6bc (diff)
parent8b27f23e02932d0382ffe02c7848104c30d0802e (diff)
downloadcpython-06f63d094f2f05c0ca5743791121eee5ab8a82da.zip
cpython-06f63d094f2f05c0ca5743791121eee5ab8a82da.tar.gz
cpython-06f63d094f2f05c0ca5743791121eee5ab8a82da.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 c5db620..92306ae 100644
--- a/Lib/test/test_httpservers.py
+++ b/Lib/test/test_httpservers.py
@@ -351,8 +351,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: