Created
October 25, 2013 11:40
-
-
Save hpk42/7153356 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pytest | |
with pytest.FixtureContext("db", path="...") as db: | |
# work with db | |
any finalizers will be called at the end of the with statement |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment