Branch: refs/heads/master Home: https://github.com/python/cpython Commit: eb52ac89929bb09b15c014ab8ff60eee685e86c7 https://github.com/python/cpython/commit/eb52ac89929bb09b15c014ab8ff60eee685e86c7 Author: Victor Stinner <victor.stinner at gmail.com> Date: 2017年06月13日 (2017年6月13日) Changed paths: M Lib/test/test_capi.py Log Message: ----------- 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).