Serhiy Storchaka added the comment:

Why do you need it? You can add a test result depended code at the end of the 
test method. For example set a special flag

    def setUp(self):
        self.success = False

    def tearDown(self):
        if not self.success:
            ...

    def test_xxx(self):
        ...
        self.success = True

I don't think any special support in stdlib needed.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16599>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to