mirror of
https://github.com/python/cpython.git
synced 2025-07-17 08:15:19 +00:00
bpo-36301: _PyCoreConfig_Read() ensures that argv is not empty (GH-12347)
If argv is empty, add an empty string.
This commit is contained in:
parent
74f6568bbd
commit
625997622b
2 changed files with 8 additions and 1 deletions
|
@ -292,7 +292,7 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
|
|||
|
||||
'pycache_prefix': None,
|
||||
'program_name': './_testembed',
|
||||
'argv': [],
|
||||
'argv': [""],
|
||||
'program': None,
|
||||
|
||||
'xoptions': [],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue