'Tear down the test case'

def teardown(self):

    (subunit_output.open_file, subunit_output.close_file) = self.patch
    assert_equal(len(self.expect), 0, 'Expected    results    left')
    registry.clear()
