summaryrefslogtreecommitdiff
path: root/Lib/test/test_httpservers.py
diff options
context:
space:
mode:
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 75133c9379..03c0776ce5 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: