diff options
author | Olly Cope <olly@ollycope.com> | 2017-01-12 11:20:55 +0000 |
---|---|---|
committer | Olly Cope <olly@ollycope.com> | 2017-01-12 11:20:55 +0000 |
commit | ffea2f9fad544c88dab009fc46bef7d971c5f7f8 (patch) | |
tree | 2c5cbaf794f17adf4f29aa46b6e5d566d3e8adab | |
parent | 2929abc009bac63682cecfd1c8c8cf599fabcb13 (diff) | |
download | yoyo-ffea2f9fad544c88dab009fc46bef7d971c5f7f8.tar.gz |
tests: change deprecated method name
-rw-r--r-- | yoyo/tests/test_backends.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yoyo/tests/test_backends.py b/yoyo/tests/test_backends.py index 89851d9..8b8ff81 100644 --- a/yoyo/tests/test_backends.py +++ b/yoyo/tests/test_backends.py @@ -7,7 +7,7 @@ from yoyo.tests import with_migrations class TestTransactionHandling(object): - @pytest.yield_fixture(autouse=True, params=get_test_backends()) + @pytest.fixture(autouse=True, params=get_test_backends()) def backend(self, request): backend = request.param with backend.transaction(): |