[Python-checkins] cpython (merge 3.3 -> default): Do not raise self.skipTest().

serhiy.storchaka python-checkins at python.org
Mon Feb 4 14:47:47 CET 2013


http://hg.python.org/cpython/rev/d867a9898a53
changeset:   81996:d867a9898a53
parent:      81993:e6d6b860a720
parent:      81995:872ede983e7b
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Mon Feb 04 15:46:18 2013 +0200
summary:
  Do not raise self.skipTest().
skipTest() already raises an exception.

files:
  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
--- a/Lib/test/test_httpservers.py
+++ b/Lib/test/test_httpservers.py
@@ -351,8 +351,7 @@
             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:

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list