diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-02-04 13:45:00 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-02-04 13:45:00 (GMT) |
commit | 0b4591e0eb80b78b4c6a4aa6a4071c74c253bde7 (patch) | |
tree | d52e23bdd734defa46f928dbcc7fe0f368b45e14 /Lib/test/test_httpservers.py | |
parent | a66b46aad6889e9aba374e856e10ba1cf30d574c (diff) | |
download | cpython-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.py | 3 |
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: |