]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40413: test_embed tests calling Py_RunMain() multiple times (GH-28466)
authorVictor Stinner <vstinner@python.org>
Mon, 20 Sep 2021 08:30:02 +0000 (10:30 +0200)
committerGitHub <noreply@github.com>
Mon, 20 Sep 2021 08:30:02 +0000 (10:30 +0200)
commit5e2c32e08ed77081cabd9d51f0589f81c1572732
tree184daa7a41091b5f5a775efa637f0b0fa0beecb0
parentfcbf9b176b1190301c760a921601c6488ef8b070
bpo-40413: test_embed tests calling Py_RunMain() multiple times (GH-28466)

Calling Py_InitializeFromConfig()+Py_RunMain() multiple times must
not crash.

Cleanup also test_get_argc_argv().
Lib/test/test_embed.py
Programs/_testembed.c