Skip to content

Commit 6d5c991

Browse files
committed
Clarify documentation on when fixtures can be used
1 parent eb1fcb0 commit 6d5c991

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ set up and registered for tear down, but does not pass the yielded value to the
3535
decorated function. This is appropriate for fixtures that have side effects.
3636

3737
The location where a fixture is defined has no affect on where it can be used.
38-
Any code that can import it can use it.
38+
Any code that can import it can use it as long as it is executed in the context
39+
of running tests and does not violate scope restrictions.
3940

4041
### @use shorthand
4142

0 commit comments

Comments
 (0)