gh-127873: Only check sys.flags.ignore_environment for PYTHON* env vars (#127877)

This commit is contained in:
Hugo van Kemenade 2025-01-21 18:10:08 +02:00 committed by GitHub
parent 13475e0a5a
commit 05d12eecbd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 94 additions and 65 deletions

View file

@ -981,6 +981,7 @@ class TestCommandLine(unittest.TestCase):
return
self.fail(f"unexpected output: {stderr!a}")
@force_not_colorized
def test_sys_xoptions_invalid(self):
for nframe in INVALID_NFRAME:
with self.subTest(nframe=nframe):