[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

@ -88,6 +88,8 @@ def _make_test_zip_pkg(zip_dir, zip_basename, pkg_name, script_basename,
importlib.invalidate_caches()
return to_return
@support.force_not_colorized_test_class
class CmdLineTest(unittest.TestCase):
def _check_output(self, script_name, exit_code, data,
expected_file, expected_argv0,