diff options
author | Adrien Di Mascio <Adrien.DiMascio@logilab.fr> | 2006-07-04 17:09:17 +0200 |
---|---|---|
committer | Adrien Di Mascio <Adrien.DiMascio@logilab.fr> | 2006-07-04 17:09:17 +0200 |
commit | 4d2d58b77e8908948cc3548f22c66433d3d5f0c2 (patch) | |
tree | 573260d9f6ad147300e58bc92a5d7e2d093ad7ca /testlib.py | |
parent | 6c74c5671b99b0194e4a016b8f3b020d7b58b467 (diff) | |
download | logilab-common-4d2d58b77e8908948cc3548f22c66433d3d5f0c2.tar.gz |
cleaning
Diffstat (limited to 'testlib.py')
-rw-r--r-- | testlib.py | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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) |