diff options
author | Denis Laxalde <denis.laxalde@logilab.fr> | 2014-06-05 10:06:59 +0200 |
---|---|---|
committer | Denis Laxalde <denis.laxalde@logilab.fr> | 2014-06-05 10:06:59 +0200 |
commit | b0f384ef4bb2d7e5ac419320c73199b0aed65ee7 (patch) | |
tree | 7cee5f5ca7f8d7947a93ed6764ecab14bedd7591 /test/unittest_table.py | |
parent | 86dc908ee0df6f8bf9a0bd11d9952dcaba0689e4 (diff) | |
download | logilab-common-b0f384ef4bb2d7e5ac419320c73199b0aed65ee7.tar.gz |
[testlib] Handle skip methods as in unittest
Just copied this piece of code from unittest.TestCase.run which:
* makes it possible to skip whole TestCase (using class decorator),
* handle conditional skip (skipIf).
As an aside, with this, setUp() is not executed anymore when a test is
skipped.
Closes #252838.
Diffstat (limited to 'test/unittest_table.py')
0 files changed, 0 insertions, 0 deletions