Add addCleanup and doCleanups to unittest.TestCase.

Closes issue 5679.

Michael Foord
4 files changed