mirror of https://github.com/astral-sh/ruff
Update example for `PT001` as per the new default behavior (#13019)
## Summary Example / Use instead were not updated with the release of ruff 0.6.0. This updates them accordingly.
This commit is contained in:
parent
37a60460ed
commit
dedefd73da
|
|
@ -42,7 +42,7 @@ use super::helpers::{
|
|||
/// import pytest
|
||||
///
|
||||
///
|
||||
/// @pytest.fixture
|
||||
/// @pytest.fixture()
|
||||
/// def my_fixture(): ...
|
||||
/// ```
|
||||
///
|
||||
|
|
@ -52,7 +52,7 @@ use super::helpers::{
|
|||
/// import pytest
|
||||
///
|
||||
///
|
||||
/// @pytest.fixture()
|
||||
/// @pytest.fixture
|
||||
/// def my_fixture(): ...
|
||||
/// ```
|
||||
///
|
||||
|
|
|
|||
Loading…
Reference in New Issue