diff options
| author | godosa <godosa@godosa.eu> | 2026-10-07 20:05:04 +0200 |
|---|---|---|
| committer | godosa <godosa@godosa.eu> | 2026-10-07 20:05:04 +0200 |
| commit | aedabd0983c53edea462d41a7dd7ce511f59465d (patch) | |
| tree | a93ab47df52fdfe3038820efc3f87931915cc546 | |
| parent | ea8bcc80ccbb3b7556d226d391189312fdd07321 (diff) | |
| download | workflow-aedabd0983c53edea462d41a7dd7ce511f59465d.tar.gz workflow-aedabd0983c53edea462d41a7dd7ce511f59465d.zip | |
tests: strip FORCE_COLOR so help-text tests pass
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JEAjUkQRrCYX5MZhWxdtj2
| -rw-r--r-- | tests/test_cli.py | 1 | ||||
| -rw-r--r-- | tests/test_res_io.py | 1 |
2 files changed, 2 insertions, 0 deletions
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 |
