On Wed, Aug 25, 2010 at 7:28 AM, Aaron Bentley <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 08/24/2010 03:07 PM, Robert Collins wrote: >> Awesome Jeroen, thank you for doing this. >> >> I have a suggestion for a small minor incremental improvement. >> >> It would be nice to be able to use >> self.installFixture(FakeLibrarian()) > > Nah, it would be nice to be able to use > > self.useContext(FakeLibrarian())
I think both would be useful. I like context managers too, but sometimes (perhaps not this case) its easier to express with a little regular code in the middle. -Rob _______________________________________________ Mailing list: https://launchpad.net/~launchpad-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp

