diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-06-26 19:38:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-26 19:38:25 (GMT) |
commit | bdbd5e895ddf9aefcb79cdc52341f0697ad6aea0 (patch) | |
tree | 9de4a92198e1c0d919f35d7e1aba6cbeda2395bc /Objects | |
parent | af7282e1299821132ceb948df70e5a6dfc0c3619 (diff) | |
download | cpython-bdbd5e895ddf9aefcb79cdc52341f0697ad6aea0.zip cpython-bdbd5e895ddf9aefcb79cdc52341f0697ad6aea0.tar.gz cpython-bdbd5e895ddf9aefcb79cdc52341f0697ad6aea0.tar.bz2 |
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>
Diffstat (limited to 'Objects')
0 files changed, 0 insertions, 0 deletions