commit | bdbd5e895ddf9aefcb79cdc52341f0697ad6aea0 | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Wed Jun 26 12:38:25 2019 -0700 |
committer | GitHub <noreply@github.com> | Wed Jun 26 12:38:25 2019 -0700 |
tree | 9de4a92198e1c0d919f35d7e1aba6cbeda2395bc | |
parent | af7282e1299821132ceb948df70e5a6dfc0c3619 [diff] |
bpo-37411: Rewrite test_wsgiref.testEnviron() (GH-14394) 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. (cherry picked from commit 5150d327924959639215ed0a78feffc0d88258da) Co-authored-by: Victor Stinner <vstinner@redhat.com>