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:
François-Michel L'Heureux 2024-08-21 00:04:18 -04:00 committed by GitHub
parent 37a60460ed
commit dedefd73da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,7 +42,7 @@ use super::helpers::{
/// import pytest /// import pytest
/// ///
/// ///
/// @pytest.fixture /// @pytest.fixture()
/// def my_fixture(): ... /// def my_fixture(): ...
/// ``` /// ```
/// ///
@ -52,7 +52,7 @@ use super::helpers::{
/// import pytest /// import pytest
/// ///
/// ///
/// @pytest.fixture() /// @pytest.fixture
/// def my_fixture(): ... /// def my_fixture(): ...
/// ``` /// ```
/// ///