Skip to content

Commit b09762d

Browse files
authored
doc: link to python_files from "Assertion Rewriting" (pytest-dev#6705)
Ref: pytest-dev#6377 Ref: #145
1 parent 9631b3c commit b09762d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/en/writing_plugins.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ done via a :pep:`302` import hook which gets installed early on when
181181
``pytest`` starts up and will perform this rewriting when modules get
182182
imported. However since we do not want to test different bytecode
183183
then you will run in production this hook only rewrites test modules
184+
themselves (as defined by the :confval:`python_files` configuration option)
184185
themselves as well as any modules which are part of plugins. Any
185186
other imported module will not be rewritten and normal assertion
186187
behaviour will happen.

0 commit comments

Comments
 (0)