]> granicus.if.org Git - python/commitdiff
(merge 3.2) Issue #12383: fix test_empty_env() of subprocess on Mac OS X
authorVictor Stinner <victor.stinner@haypocalc.com>
Wed, 22 Jun 2011 19:29:07 +0000 (21:29 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Wed, 22 Jun 2011 19:29:07 +0000 (21:29 +0200)
Mac OS X adds __CF_USER_TEXT_ENCODING variable to an empty environment. Fix
also the test on the Py_ENABLE_SHARED config varible: test that the variable is
present, don't check it's value.

1  2 
Lib/test/test_subprocess.py

Simple merge