Skip to content

Commit ef267cc

Browse files
committedFeb 22, 2025·
docs(pytest-plugin) Note how fixture is cached
1 parent 72976c6 commit ef267cc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎docs/pytest-plugin.md

+4
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,10 @@ def my_git_repo(
131131
return repo_path
132132
```
133133

134+
```{note}
135+
The `create_git_remote_repo` fixture creates a repository once per test session and reuses it, making copies for individual tests to avoid repeated `git init` operations.
136+
```
137+
134138
#### Mercurial
135139

136140
Use the {func}`set_hgconfig` fixture with `autouse=True`:

0 commit comments

Comments
 (0)
Please sign in to comment.