summaryrefslogtreecommitdiff
path: root/Lib/test/test_embed.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-03-15 16:03:23 +0100
committerGitHub <noreply@github.com>2019-03-15 16:03:23 +0100
commit625997622b4736e9184bdd8bf1e22a7b51be1afc (patch)
tree1e2dfbafa030e0c402636292127cbdeb5e156a6a /Lib/test/test_embed.py
parent74f6568bbd3e70806ea3219e8bacb386ad802ccf (diff)
downloadcpython-git-625997622b4736e9184bdd8bf1e22a7b51be1afc.tar.gz
bpo-36301: _PyCoreConfig_Read() ensures that argv is not empty (GH-12347)
If argv is empty, add an empty string.
Diffstat (limited to 'Lib/test/test_embed.py')
-rw-r--r--Lib/test/test_embed.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_embed.py b/Lib/test/test_embed.py
index 952bc327dd..374346e3cc 100644
--- a/Lib/test/test_embed.py
+++ b/Lib/test/test_embed.py
@@ -292,7 +292,7 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
'pycache_prefix': None,
'program_name': './_testembed',
- 'argv': [],
+ 'argv': [""],
'program': None,
'xoptions': [],