def test_basic(self):
        called = []
        class MockTest(unittest.TestCase):
            def test_foo(test):
                called.append(True)
        test = MockTest('test_foo')
        result = reporter.TestResult()
        suite = runner.DestructiveTestSuite([test])
        self.assertEquals(called, [])
        suite.run(result)
        self.assertEquals(called, [True])
        self.assertEquals(suite.countTestCases(), 0)
Thes destructive test suite should run the tests normally.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/trial/test/test_runner.py/DestructiveTestSuiteTestCase.test_basic