We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 60599b6 + b7a64d6 commit 818aa4dCopy full SHA for 818aa4d
changelog/1495.doc.rst
@@ -0,0 +1 @@
1
+Document common doctest fixture directory tree structure pitfalls
doc/en/doctest.rst
@@ -154,6 +154,9 @@ which can then be used in your doctests directly::
154
"""
155
pass
156
157
+Note that like the normal ``conftest.py``, the fixtures are discovered in the directory tree conftest is in.
158
+Meaning that if you put your doctest with your source code, the relevant conftest.py needs to be in the same directory tree.
159
+Fixtures will not be discovered in a sibling directory tree!
160
161
Output format
162
-------------
0 commit comments