[py-dev] Detect whether py.test is running

Antonio Cuni anto.cuni at gmail.com
Sat Oct 16 19:09:18 CEST 2010


On 16/10/10 19:05, Antonio Cuni wrote:

> if py.test.config.__dict__ == {}:

sorry, it's py.test.config.option.__dict__

(uhm, what about providing a way to test the code inside the emails before 
sending them? :-))



More information about the Pytest-dev mailing list