Skip to content

Commit

Permalink
Replace yield_fixture with fixture. Fixes #6.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Dec 29, 2018
1 parent e79d290 commit 01a050e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
4.3
===

#6: Avoid use of deperecated ``yield_fixture``.

4.2
===

Expand Down
2 changes: 1 addition & 1 deletion jaraco/postgres/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from . import PostgresServer


@pytest.yield_fixture(scope="session")
@pytest.fixture(scope="session")
def postgresql_instance():
try:
port = portend.find_available_local_port()
Expand Down

0 comments on commit 01a050e

Please sign in to comment.