• Gregory P. Smith's avatar
    Only pass -E to the child interpreter if our interpreter was running in that · 058fb7a8
    Gregory P. Smith yazdı
    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).
    058fb7a8
test_faulthandler.py 21.4 KB