]> granicus.if.org Git - python/commit
bpo-38234: test_embed: test pyvenv.cfg and pybuilddir.txt (GH-16366)
authorVictor Stinner <vstinner@redhat.com>
Wed, 25 Sep 2019 00:10:35 +0000 (02:10 +0200)
committerGitHub <noreply@github.com>
Wed, 25 Sep 2019 00:10:35 +0000 (02:10 +0200)
commit52ad33abbfb6637d74932617c7013bae0ccf6e32
tree2540db0d6a9b7c620debf75e63ab866a85f1f677
parent2180f6b058effbf49ec819f7cedbe76ddd4b700c
bpo-38234: test_embed: test pyvenv.cfg and pybuilddir.txt (GH-16366)

Add test_init_pybuilddir() and test_init_pyvenv_cfg() to test_embed
to test pyvenv.cfg and pybuilddir.txt configuration files.

Fix sysconfig._generate_posix_vars(): pybuilddir.txt uses UTF-8
encoding, not ASCII.
Lib/sysconfig.py
Lib/test/test_embed.py