diff --git a/tests/commands/util.py b/tests/commands/util.py index 5d139d9..d18d103 100644 --- a/tests/commands/util.py +++ b/tests/commands/util.py @@ -2,7 +2,7 @@ from __future__ import annotations import sys from io import StringIO -from os import PathLike +from os import PathLike, environ from subprocess import CalledProcessError from unittest.mock import patch @@ -10,6 +10,7 @@ import pytest from wheel._commands import main +environ["NO_COLOR"] = "1" def run_command( command: str, *args: str | PathLike, catch_systemexit: bool = True