[3.13] gh-127873: Only check sys.flags.ignore_environment for PYTHON* env vars (GH-127877) (#129138)

This commit is contained in:
Hugo van Kemenade 2025-01-22 21:09:51 +02:00 committed by GitHub
parent f7f8b8b758
commit cc3dc8ab24
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 91 additions and 28 deletions

View file

@ -789,6 +789,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
@ -902,6 +903,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.