summaryrefslogtreecommitdiff
path: root/Lib/test/test_embed.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2019-05-01 23:51:56 -0400
committerGitHub <noreply@github.com>2019-05-01 23:51:56 -0400
commitcb9fbd35885a8921b9df99e801df4f82e3ba336b (patch)
treeac897ce5cd21edf057576367de97bd4c6ed0c85d /Lib/test/test_embed.py
parent11e4a941e9c6225776a986b05230a1963e83f4fb (diff)
downloadcpython-git-cb9fbd35885a8921b9df99e801df4f82e3ba336b.tar.gz
bpo-36763: Make _PyCoreConfig.check_hash_pycs_mode public (GH-13052)
_PyCoreConfig: Rename _check_hash_pycs_mode field to check_hash_pycs_mode (make it public) and change its type from "const char*" to "wchar_t*".
Diffstat (limited to 'Lib/test/test_embed.py')
-rw-r--r--Lib/test/test_embed.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_embed.py b/Lib/test/test_embed.py
index cd6027205a..fb0051957a 100644
--- a/Lib/test/test_embed.py
+++ b/Lib/test/test_embed.py
@@ -346,7 +346,7 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
'run_filename': None,
'_install_importlib': 1,
- '_check_hash_pycs_mode': 'default',
+ 'check_hash_pycs_mode': 'default',
'_frozen': 0,
'_init_main': 1,
}
@@ -577,7 +577,7 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
'user_site_directory': 0,
'faulthandler': 1,
- '_check_hash_pycs_mode': 'always',
+ 'check_hash_pycs_mode': 'always',
'_frozen': 1,
}
self.check_config("init_from_config", config, preconfig)