Skip to content

Commit 8b2da2a

Browse files
committed
DOC: update env var description
1 parent 445b5f3 commit 8b2da2a

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
@@ -2233,7 +2233,7 @@ All the command-line flags can be obtained by running ``pytest --help``::
22332233
Directory to take the pytester example files from
22342234

22352235
Environment variables:
2236-
CI When truthy, pytest knows it is running in a CI process and does not truncate summary info
2236+
CI When set (regardless of value), pytest knows it is running in a CI process and does not truncate summary info
22372237
BUILD_NUMBER equivalent to CI
22382238
PYTEST_ADDOPTS Extra command line options
22392239
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)