[pytest-dev] Using a context manager in a funcarg/fixture

Brianna Laugher brianna.laugher at gmail.com
Mon Apr 22 07:48:44 CEST 2013


Hi folks,

I posted this a couple of weeks ago and would appreciate if anyone can
offer a useful answer.

http://stackoverflow.com/questions/15801662/py-test-how-to-use-a-context-manager-in-a-funcarg-fixture

I feel like some kind of fixture definition that involves a yield statement
could be usefulfor this?

cheers
Brianna


-- 
They've just been waiting in a mountain for the right moment:
http://modernthings.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pytest-dev/attachments/20130422/2cefc8a2/attachment.html>


More information about the Pytest-dev mailing list