allow fixture functions to be implemented as context managers:

@pytest.fixture
def myfix():
    # setup
    yield 1
    # teardown
This commit is contained in:
holger krekel
2013-05-05 14:48:37 +02:00
parent 8e41ef5776
commit 56aa9962fc
5 changed files with 133 additions and 4 deletions

View File

@@ -1,2 +1,2 @@
#
__version__ = '2.3.6.dev1'
__version__ = '2.3.6.dev2'