summaryrefslogtreecommitdiffstats
path: root/Programs/_testembed.c
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2020-04-22 22:29:27 (GMT)
committerGitHub <noreply@github.com>2020-04-22 22:29:27 (GMT)
commitc5fc15685202cda73f7c3f5c6f299b0945f58508 (patch)
tree7624ae45b95f2812e801c5879bdbdcb796f570a6 /Programs/_testembed.c
parenta81849b0315277bb3937271174aaaa5059c0b445 (diff)
downloadcpython-c5fc15685202cda73f7c3f5c6f299b0945f58508.zip
cpython-c5fc15685202cda73f7c3f5c6f299b0945f58508.tar.gz
cpython-c5fc15685202cda73f7c3f5c6f299b0945f58508.tar.bz2
bpo-40334: PEP 617 implementation: New PEG parser for CPython (GH-19503)
Co-authored-by: Guido van Rossum <guido@python.org> Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
Diffstat (limited to 'Programs/_testembed.c')
-rw-r--r--Programs/_testembed.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Programs/_testembed.c b/Programs/_testembed.c
index 249f7e2..8165aa7 100644
--- a/Programs/_testembed.c
+++ b/Programs/_testembed.c
@@ -485,6 +485,9 @@ static int test_init_from_config(void)
config.install_signal_handlers = 0;
+ putenv("PYTHONOLDPARSER=");
+ config.use_peg = 0;
+
/* FIXME: test use_environment */
putenv("PYTHONHASHSEED=42");