[Python-checkins] cpython (merge 3.2 -> 3.3): Do not raise self.skipTest().
serhiy.storchaka
python-checkins at python.org
Mon Feb 4 14:47:45 CET 2013
http://hg.python.org/cpython/rev/872ede983e7b
changeset: 81995:872ede983e7b
branch: 3.3
parent: 81992:b002608e62f0
parent: 81994:086eb1fe3082
user: Serhiy Storchaka <storchaka at gmail.com>
date: Mon Feb 04 15:45:58 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
@@ -340,8 +340,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