• Ralf Schmitt's avatar
    run tests in their own __main__ module · e39f0390
    Ralf Schmitt authored
    do not use the current globals() as namespace, rather setup a clean
    namespace inside a newly created __main__ module.
    
    the missing "import sys" in test__socket_timeout.py fixed two commits
    ago, wouldn't go unnoticed with this change.
    e39f0390
testrunner.py 19.2 KB