def setup_example(self):
try:
# TesttoolsTestCase starts without this attribute set at all. Get
# us back to that state. It won't be set at all on the first
# setup_example call, nor if the previous run didn't have a failed
# expectation.
del self.force_failure
except AttributeError:
pass
评论列表
文章目录