]> granicus.if.org Git - python/commitdiff
Only pass -E to the child interpreter if our interpreter was running in that
authorGregory P. Smith <greg@krypto.org>
Fri, 23 Jan 2015 01:53:24 +0000 (17:53 -0800)
committerGregory P. Smith <greg@krypto.org>
Fri, 23 Jan 2015 01:53:24 +0000 (17:53 -0800)
mode.  Explicitly remove the PYTHONFAULTHANDLER environment variable before
launching a child interpreter when its presence would impact the test (the
reason -E was being used in the first place).

This enables running the test in an environment where other Python environment  variables must be set in order for things to run (such as using PYTHONHOME to
tell an embedded interpreter where it should think it lives).

1  2 
Lib/test/test_faulthandler.py

Simple merge