summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_regrtest.py
diff options
context:
space:
mode:
authorHugo van Kemenade <1324225+hugovk@users.noreply.github.com>2025-01-21 16:10:08 (GMT)
committerGitHub <noreply@github.com>2025-01-21 16:10:08 (GMT)
commit05d12eecbde1ace39826320cadf8e673d709b229 (patch)
tree2e767c71374e498d1f9759e2ba60177152b396d0 /Lib/test/test_regrtest.py
parent13475e0a5a317fa61f302f030b0effcb021873d6 (diff)
downloadcpython-05d12eecbde1ace39826320cadf8e673d709b229.zip
cpython-05d12eecbde1ace39826320cadf8e673d709b229.tar.gz
cpython-05d12eecbde1ace39826320cadf8e673d709b229.tar.bz2
gh-127873: Only check `sys.flags.ignore_environment` for `PYTHON*` env vars (#127877)
Diffstat (limited to 'Lib/test/test_regrtest.py')
-rw-r--r--Lib/test/test_regrtest.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_regrtest.py b/Lib/test/test_regrtest.py
index 5707b35..e9ef830 100644
--- a/Lib/test/test_regrtest.py
+++ b/Lib/test/test_regrtest.py
@@ -792,6 +792,7 @@ class CheckActualTests(BaseTestCase):
f'{", ".join(output.splitlines())}')
+@support.force_not_colorized_test_class
class ProgramsTestCase(BaseTestCase):
"""
Test various ways to run the Python test suite. Use options close
@@ -905,6 +906,7 @@ class ProgramsTestCase(BaseTestCase):
self.run_batch(script, *rt_args, *self.regrtest_args, *self.tests)
+@support.force_not_colorized_test_class
class ArgsTestCase(BaseTestCase):
"""
Test arguments of the Python test suite.