aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/python/wheel-test-colour.patch
blob: db399fdcf77a7a9c02506cfd29d7d71248a8583e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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