# ``twisted`.`trial`.`runner`.`DestructiveTestSuite``

class documentation

`class DestructiveTestSuite(TestSuite): (source)`

View In Hierarchy

A test suite which remove the tests once run, to minimize memory usage.

Method | `run` | Almost the same as `TestSuite.run`, but with `self._tests` being empty at the end.

def run(self, result): (source)
overrides `twisted.trial.unittest.TestSuite.run`
Almost the same as `TestSuite.run`, but with `self._tests` being empty at the end.