diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-08-01 01:07:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-01 01:07:18 (GMT) |
commit | ea68d83933e6de6cabfb115ec1b8888301947369 (patch) | |
tree | 2a9d320ba9050009dc46f48dbd19a7b66c8c4879 /Lib | |
parent | 9851227382431a40a138fdff994278d9e7743c74 (diff) | |
download | cpython-ea68d83933e6de6cabfb115ec1b8888301947369.zip cpython-ea68d83933e6de6cabfb115ec1b8888301947369.tar.gz cpython-ea68d83933e6de6cabfb115ec1b8888301947369.tar.bz2 |
bpo-34170: _PyCoreConfig_Read() defaults to argc=0 (GH-8595)
Add unit tests for argc and argv of _PyCoreConfig.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_embed.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_embed.py b/Lib/test/test_embed.py index 79622f1..25593bd 100644 --- a/Lib/test/test_embed.py +++ b/Lib/test/test_embed.py @@ -272,6 +272,8 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase): 'pycache_prefix': '(null)', 'program_name': './_testembed', + 'argc': 0, + 'argv': '[]', 'program': '(null)', 'isolated': 0, |