mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
gh-127873: Only check sys.flags.ignore_environment
for PYTHON*
env vars (#127877)
This commit is contained in:
parent
13475e0a5a
commit
05d12eecbd
22 changed files with 94 additions and 65 deletions
|
@ -766,6 +766,7 @@ class CommandLineTestsBase:
|
|||
rc, out, err = self.assertRunNotOK('-q', '-d', 'dinsdale', self.pkgdir)
|
||||
self.assertRegex(out, b'File "dinsdale')
|
||||
|
||||
@support.force_not_colorized
|
||||
def test_d_runtime_error(self):
|
||||
bazfn = script_helper.make_script(self.pkgdir, 'baz', 'raise Exception')
|
||||
self.assertRunOK('-q', '-d', 'dinsdale', self.pkgdir)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue