bpo-28180: Fix test_capi.test_forced_io_encoding() (#2155) · LDM2020/cpython@eb52ac8 · GitHub
Skip to content

Commit eb52ac8

Browse files
authored
bpo-28180: Fix test_capi.test_forced_io_encoding() (python#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).
1 parent d79c1d4 commit eb52ac8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_capi.py

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)