diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-08-01 00:13:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-01 00:13:04 (GMT) |
commit | b75d7e243512afcfb2285e6471262478383e09db (patch) | |
tree | a669ce23fbfe84ddbbb5b84ec0112df60ccf5f73 /Lib/test/test_embed.py | |
parent | 8ed317f1ca42a43df14282bbc3ccc0b5610432f4 (diff) | |
download | cpython-b75d7e243512afcfb2285e6471262478383e09db.zip cpython-b75d7e243512afcfb2285e6471262478383e09db.tar.gz cpython-b75d7e243512afcfb2285e6471262478383e09db.tar.bz2 |
bpo-34170: Add _PyCoreConfig._frozen parameter (GH-8591)
Modify frozenmain.c to use _Py_InitializeFromConfig().
Diffstat (limited to 'Lib/test/test_embed.py')
-rw-r--r-- | Lib/test/test_embed.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_embed.py b/Lib/test/test_embed.py index e00b1d8..dd7d273 100644 --- a/Lib/test/test_embed.py +++ b/Lib/test/test_embed.py @@ -289,6 +289,7 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase): '_install_importlib': 1, '_check_hash_pycs_mode': 'default', + '_frozen': 0, } def check_config(self, testname, expected): @@ -330,6 +331,7 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase): 'unbuffered_stdio': 1, 'utf8_mode': 1, 'user_site_directory': 0, + '_frozen': 1, } self.check_config("init_global_config", config) @@ -362,7 +364,9 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase): 'unbuffered_stdio': 1, 'user_site_directory': 0, 'faulthandler': 1, + '_check_hash_pycs_mode': 'always', + '_frozen': 1, } self.check_config("init_from_config", config) |