summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_embed.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-05-17 09:12:09 (GMT)
committerGitHub <noreply@github.com>2019-05-17 09:12:09 (GMT)
commitfed02e15b39b6f1521ea21654be5fc0757a8720a (patch)
tree976c7abd1f4a66a97aba89de3688405b9a5161b3 /Lib/test/test_embed.py
parent245f528a92d7748dbd7acf9cba860153c143bbfe (diff)
downloadcpython-fed02e15b39b6f1521ea21654be5fc0757a8720a.zip
cpython-fed02e15b39b6f1521ea21654be5fc0757a8720a.tar.gz
cpython-fed02e15b39b6f1521ea21654be5fc0757a8720a.tar.bz2
bpo-36763: Remove _PyCoreConfig.program (GH-13373)
Use _PyCoreConfig.program_name instead.
Diffstat (limited to 'Lib/test/test_embed.py')
-rw-r--r--Lib/test/test_embed.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/Lib/test/test_embed.py b/Lib/test/test_embed.py
index b1872ac..4012a38 100644
--- a/Lib/test/test_embed.py
+++ b/Lib/test/test_embed.py
@@ -306,7 +306,6 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
'program_name': GET_DEFAULT_CONFIG,
'parse_argv': 1,
'argv': [""],
- 'program': '',
'xoptions': [],
'warnoptions': [],
@@ -586,7 +585,6 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
'pycache_prefix': 'conf_pycache_prefix',
'program_name': './conf_program_name',
'argv': ['-c', 'arg2'],
- 'program': 'conf_program',
'xoptions': ['core_xoption1=3', 'core_xoption2=', 'core_xoption3'],
'warnoptions': ['error::ResourceWarning', 'default::BytesWarning'],
'run_command': 'pass\n',
@@ -704,7 +702,6 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
'print(json.dumps(_testinternalcapi.get_configs()))')
core_config = {
'argv': ['-c', 'arg2'],
- 'program': 'python3',
'program_name': './python3',
'run_command': code + '\n',
}
@@ -716,7 +713,6 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
'print(json.dumps(_testinternalcapi.get_configs()))')
core_config = {
'argv': ['-c', 'arg2'],
- 'program': 'python3',
'program_name': './python3',
'run_command': code + '\n',
'_init_main': 0,
@@ -728,7 +724,6 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
core_config = {
'argv': ['-v', '-c', 'arg1', '-W', 'arg2'],
'parse_argv': 0,
- 'program': 'program',
}
self.check_config("init_dont_parse_argv", core_config, {})