---
source: crates/ruff/src/rules/flake8_pytest_style/mod.rs
---
PT020.py:14:2: PT020 `@pytest.yield_fixture` is deprecated, use `@pytest.fixture`
   |
14 | @pytest.yield_fixture()
   |  ^^^^^^^^^^^^^^^^^^^^^^ PT020
15 | def error_without_parens():
16 |     return 0
   |

PT020.py:19:2: PT020 `@pytest.yield_fixture` is deprecated, use `@pytest.fixture`
   |
19 | @pytest.yield_fixture
   |  ^^^^^^^^^^^^^^^^^^^^ PT020
20 | def error_with_parens():
21 |     return 0
   |


