Comment 3 for bug 841273

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Yeah, a general cache cleanup mechanism would probably be easiest - we could call that from TestCase.addCleanup.

We can't use TestCase.addCleanup directly to close bzr-git cache files. A lot of the tests don't know about bzr-git - they simply iterate over all available format s and create instances of those formats, bzr-git doesn't have access to the actual TestCase instance.