Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@abraham-chan
Copy link
Contributor

@abraham-chan abraham-chan commented Jun 28, 2021

I get this warning when running py.test. Simply changed .yield_fixture to .fixture as instructed.

tests/test_utils.py:234
  /Users/abrahamchan/Source/thefuck/tests/test_utils.py:234: PytestDeprecationWarning: @pytest.yield_fixture is deprecated.
  Use @pytest.fixture instead; they are the same.
    @pytest.yield_fixture(autouse=True)

Copy link
Collaborator

@scorphus scorphus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @abraham-chan 👍

@scorphus scorphus merged commit 2f4adcf into nvbn:master Jun 29, 2021
@scorphus scorphus added this to the 3.32 milestone Jul 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants