Skip to content

Commit f066db0

Browse files
committed
TODO: PYTEST_FORCE_COLOR
1 parent a0e53b4 commit f066db0

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/_pytest/_io/__init__.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@ def use_markup(file: "TextIO") -> bool:
1717
if val in ("0", "1"):
1818
return val == "1"
1919

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)
20+
# TODO
21+
# # PYTEST_FORCE_COLOR: handled as boolean.
22+
# val = os.getenv("PYTEST_FORCE_COLOR")
23+
# if val is not None:
24+
# from _pytest.config import _strtobool
25+
#
26+
# return _strtobool(val)
2627

2728
# NO_COLOR: disable markup with any value (https://no-color.org/).
2829
if "NO_COLOR" in os.environ:

0 commit comments

Comments
 (0)