class documentation
class _ForceGarbageCollectionDecorator(TestDecorator): (source)
Forces garbage collection to be run before and after the test. Any errors logged during the post-test collection are added to the test result as errors.
overrides
twisted.trial.unittest.TestDecorator.run
Run the unit test.
Parameters | |
result | A TestResult object. |