Commit 0b4591e0 authored by Serhiy Storchaka's avatar Serhiy Storchaka

Do not raise self.skipTest().

skipTest() already raises an exception.
parent a66b46aa
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment