Skip to content

Commit

Permalink
Fix some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
weiiwang01 authored Mar 22, 2023
1 parent 69efcf8 commit 6edff06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -559,11 +559,11 @@ When declaring fixture functions and requesting them in the same Python module,
there is a risk of accidentally using the fixture function declared in the
global scope instead of requesting it in the test case function parameters.
To prevent this problme, it is recommended to add a "fixture" prefix or suffix
To prevent this problem, it is recommended to add a "fixture" prefix or suffix
to the fixture function name and use the `name` argument in the `pytest.fixture`
decorator to name the fixture.

Here's An example of using the `name` argument in `pytest.fixture`:
Here's an example of using the `name` argument in `pytest.fixture`:

```python
import pytest
Expand Down

0 comments on commit 6edff06

Please sign in to comment.