• Walter Dörwald's avatar
    Add a new test script that tests various features of the sys · c3502467
    Walter Dörwald authored
    module. This increases code coverage of Python/sysmodule.c
    from 68% to 77% (on Linux).
    
    The script doesn't exercise the error branch that handles an evil
    or lost sys.excepthook in Python/pythonrun.c::PyErr_PrintEx().
    
    Also this script might not work on Jython in its current form.
    
    From SF patch #662807.
    c3502467
test_sys.py 7.03 KB