summaryrefslogtreecommitdiff
path: root/testlib.py
diff options
context:
space:
mode:
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>2006-07-04 17:09:17 +0200
committerAdrien Di Mascio <Adrien.DiMascio@logilab.fr>2006-07-04 17:09:17 +0200
commit4d2d58b77e8908948cc3548f22c66433d3d5f0c2 (patch)
tree573260d9f6ad147300e58bc92a5d7e2d093ad7ca /testlib.py
parent6c74c5671b99b0194e4a016b8f3b020d7b58b467 (diff)
downloadlogilab-common-4d2d58b77e8908948cc3548f22c66433d3d5f0c2.tar.gz
cleaning
Diffstat (limited to 'testlib.py')
-rw-r--r--testlib.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/testlib.py b/testlib.py
index 381e980..bc12c81 100644
--- a/testlib.py
+++ b/testlib.py
@@ -631,7 +631,7 @@ class TestCase(unittest.TestCase):
Note: addSuccess can't be called here because we have to wait
for tearDown to be successfully executed to declare the test as
- successfull
+ successful
"""
kwargs = kwargs or {}
try:
@@ -641,9 +641,6 @@ class TestCase(unittest.TestCase):
return 1
except KeyboardInterrupt:
raise
-## except TestSkipped:
-## exc_type, exc, tcbk = self.__exc_info()
-## result.addSkipped(self, exc)
except:
result.addError(self, self.__exc_info())
return 2
@@ -654,7 +651,6 @@ class TestCase(unittest.TestCase):
def skip(self, msg=None):
msg = msg or 'test was skipped'
- # warn(msg, stacklevel=2)
raise TestSkipped(msg)
skipped_test = deprecated_function(skip)