• Victor Stinner's avatar
    bpo-37411: Rewrite test_wsgiref.testEnviron() (GH-14394) · 5150d327
    Victor Stinner authored
    Fix test_wsgiref.testEnviron() to no longer depend on the environment
    variables (don't fail if "X" variable is set).
    
    testEnviron() now overrides os.environ to get a deterministic
    environment. Test full TestHandler.environ content: not only a few
    selected variables.
    5150d327
test_wsgiref.py 30.1 KB