diff --git a/doc/en/reference.rst b/doc/en/reference.rst index 775dd556a8a..90140f09de6 100644 --- a/doc/en/reference.rst +++ b/doc/en/reference.rst @@ -783,12 +783,19 @@ ExceptionInfo :members: -pytest.ExitCode -~~~~~~~~~~~~~~~ +ExitCode +~~~~~~~~ .. autoclass:: _pytest.config.ExitCode :members: +File +~~~~ + +.. autoclass:: _pytest.nodes.File() + :members: + :show-inheritance: + FixtureDef ~~~~~~~~~~ diff --git a/src/_pytest/nodes.py b/src/_pytest/nodes.py index 560548aea64..91cf7e5ac35 100644 --- a/src/_pytest/nodes.py +++ b/src/_pytest/nodes.py @@ -604,7 +604,10 @@ def _collectfile( 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):