On Mon, Oct 22, 2012 at 10:44 +0200, Ralf Schmitt wrote: > holger krekel <hol...@merlinux.eu> writes: > > > > > interesting little plugin. On a general note, using "pytest_configure" > > is not the best way to setup global state. It's better to do this:: > > > > @pytest.fixture(scope="session", autouse=True): > > def setup_twisted_reactor(request): > > ... > > request.addfinalizer(...) > > thanks for your comments. I'll try to implement that in the next > version. BTW, an early version of this plugin was once part of pylib :)
I vaguely remember :) holger _______________________________________________ py-dev mailing list py-dev@codespeak.net http://codespeak.net/mailman/listinfo/py-dev