commit | eb52ac89929bb09b15c014ab8ff60eee685e86c7 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Tue Jun 13 11:49:44 2017 +0200 |
committer | GitHub <noreply@github.com> | Tue Jun 13 11:49:44 2017 +0200 |
tree | aec8a442e56ab34e748ea45c0d23082da3b771a7 | |
parent | d79c1d4a9406384f10a37f26a7515ce79f9fdd78 [diff] |
bpo-28180: Fix test_capi.test_forced_io_encoding() (#2155) Don't run Python in an empty environment, but copy the current environment and set PYTHONIOENCODING. So the test works also on Python compiled in shared mode (using libpython).