aboutsummaryrefslogtreecommitdiffziptar.gz
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_cli.py1
-rw-r--r--tests/test_res_io.py1
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