Skip to content

Commit

Permalink
Merge pull request #7697 from nicoddemus/file-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoddemus committed Aug 28, 2020
2 parents 2fcf763 + ceea600 commit 21aa6c4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
11 changes: 9 additions & 2 deletions doc/en/reference.rst
Expand Up @@ -784,12 +784,19 @@ ExceptionInfo
:members:


pytest.ExitCode
~~~~~~~~~~~~~~~
ExitCode
~~~~~~~~

.. autoclass:: _pytest.config.ExitCode
:members:

File
~~~~

.. autoclass:: _pytest.nodes.File()
:members:
:show-inheritance:


FixtureDef
~~~~~~~~~~
Expand Down
5 changes: 4 additions & 1 deletion src/_pytest/nodes.py
Expand Up @@ -542,7 +542,10 @@ def isinitpath(self, path: py.path.local) -> bool:


class File(FSCollector):
"""Base class for collecting tests from a file."""
"""Base class for collecting tests from a file.
:ref:`non-python tests`.
"""


class Item(Node):
Expand Down

0 comments on commit 21aa6c4

Please sign in to comment.