Author: mattip <matti.pi...@gmail.com> Branch: py3k Changeset: r78723:c2e78e986378 Date: 2015-07-31 12:11 +0300 http://bitbucket.org/pypy/pypy/changeset/c2e78e986378/
Log: make sure environ keys are upper case for tests diff --git a/pypy/module/posix/interp_posix.py b/pypy/module/posix/interp_posix.py --- a/pypy/module/posix/interp_posix.py +++ b/pypy/module/posix/interp_posix.py @@ -524,7 +524,7 @@ # started through main() instead of wmain() rwin32._wgetenv(u"") for key, value in rwin32._wenviron_items(): - space.setitem(w_env, space.wrap(key), space.wrap(value)) + space.setitem(w_env, space.wrap(key.upper()), space.wrap(value)) @unwrap_spec(name=unicode, value=unicode) def putenv(space, name, value): _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit