[Python-checkins] [python/cpython] eb52ac: bpo-28180: Fix test_capi.test_forced_io_encoding()...

GitHub noreply at github.com
Tue Jun 13 05:49:46 EDT 2017


  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 (Tue, 13 Jun 2017)

  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).




More information about the Python-checkins mailing list