Skip to content

Commit 94f3498

Browse files
committed
DOC: update env var description
1 parent c0f8f1d commit 94f3498

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/en/reference/reference.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -2245,7 +2245,7 @@ All the command-line flags can be obtained by running ``pytest --help``::
22452245
Directory to take the pytester example files from
22462246

22472247
Environment variables:
2248-
CI When truthy, pytest knows it is running in a CI process and does not truncate summary info
2248+
CI When set (regardless of value), pytest knows it is running in a CI process and does not truncate summary info
22492249
BUILD_NUMBER equivalent to CI
22502250
PYTEST_ADDOPTS Extra command line options
22512251
PYTEST_PLUGINS Comma-separated plugins to load during startup

src/_pytest/helpconfig.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def showhelp(config: Config) -> None:
214214
vars = [
215215
(
216216
"CI",
217-
"When truthy, pytest knows it is running in a CI process and does not truncate summary info",
217+
"When set (regardless of value), pytest knows it is running in a CI process and does not truncate summary info",
218218
),
219219
("BUILD_NUMBER", "equivalent to CI"),
220220
("PYTEST_ADDOPTS", "Extra command line options"),

0 commit comments

Comments
 (0)