diff --git a/doc/en/reference/reference.rst b/doc/en/reference/reference.rst index 4c6b6d69d..254973709 100644 --- a/doc/en/reference/reference.rst +++ b/doc/en/reference/reference.rst @@ -999,6 +999,7 @@ Stash :show-inheritance: :members: + Global Variables ---------------- diff --git a/src/_pytest/assertion/truncate.py b/src/_pytest/assertion/truncate.py index b96ce9956..16de27f25 100644 --- a/src/_pytest/assertion/truncate.py +++ b/src/_pytest/assertion/truncate.py @@ -10,6 +10,7 @@ from _pytest.assertion import util from _pytest.config import Config from _pytest.nodes import Item + DEFAULT_MAX_LINES = 8 DEFAULT_MAX_CHARS = 8 * 80 USAGE_MSG = "use '-vv' to show"