We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0e53b4 commit f066db0Copy full SHA for f066db0
src/_pytest/_io/__init__.py
@@ -17,12 +17,13 @@ def use_markup(file: "TextIO") -> bool:
17
if val in ("0", "1"):
18
return val == "1"
19
20
- # PYTEST_FORCE_COLOR: handled as boolean.
21
- val = os.getenv("PYTEST_FORCE_COLOR")
22
- if val is not None:
23
- from _pytest.config import _strtobool
24
-
25
- return _strtobool(val)
+ # TODO
+ # # PYTEST_FORCE_COLOR: handled as boolean.
+ # val = os.getenv("PYTEST_FORCE_COLOR")
+ # if val is not None:
+ # from _pytest.config import _strtobool
+ #
26
+ # return _strtobool(val)
27
28
# NO_COLOR: disable markup with any value (https://no-color.org/).
29
if "NO_COLOR" in os.environ:
0 commit comments