From 625997622b4736e9184bdd8bf1e22a7b51be1afc Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Fri, 15 Mar 2019 16:03:23 +0100 Subject: bpo-36301: _PyCoreConfig_Read() ensures that argv is not empty (GH-12347) If argv is empty, add an empty string. --- Lib/test/test_embed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/test/test_embed.py') 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': [], -- cgit v1.2.1