From aedabd0983c53edea462d41a7dd7ce511f59465d Mon Sep 17 00:00:00 2001 From: godosa Date: Wed, 7 Oct 2026 20:05:04 +0200 Subject: tests: strip FORCE_COLOR so help-text tests pass Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01JEAjUkQRrCYX5MZhWxdtj2 --- tests/test_cli.py | 1 + tests/test_res_io.py | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/test_cli.py b/tests/test_cli.py index 2808242..518954e 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -4,6 +4,7 @@ import subprocess import sys import tempfile import unittest +os.environ.pop("FORCE_COLOR", None) # argparse colors help under FORCE_COLOR from pathlib import Path HERE = Path(__file__).resolve().parent.parent diff --git a/tests/test_res_io.py b/tests/test_res_io.py index 16271e0..c30b21f 100644 --- a/tests/test_res_io.py +++ b/tests/test_res_io.py @@ -6,6 +6,7 @@ import subprocess import sys import tempfile import unittest +os.environ.pop("FORCE_COLOR", None) # argparse colors help under FORCE_COLOR from contextlib import redirect_stderr, redirect_stdout from pathlib import Path -- cgit