summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-09-17 22:13:17 (GMT)
committerGitHub <noreply@github.com>2018-09-17 22:13:17 (GMT)
commit188ebfa475a6f6aa2d0ea14ca8e1fbe7865b6d27 (patch)
treec13681a2bbd98f90055dd18e26cf9ceea2a8b40d /Lib/test
parentc62ab2862db2382808bb2228760eebdda3f608bd (diff)
downloadcpython-188ebfa475a6f6aa2d0ea14ca8e1fbe7865b6d27.zip
cpython-188ebfa475a6f6aa2d0ea14ca8e1fbe7865b6d27.tar.gz
cpython-188ebfa475a6f6aa2d0ea14ca8e1fbe7865b6d27.tar.bz2
bpo-34589: Make _PyCoreConfig.coerce_c_locale private (GH-9371)
_PyCoreConfig: * Rename coerce_c_locale to _coerce_c_locale * Rename coerce_c_locale_warn to _coerce_c_locale_warn These fields are now private (name prefixed by "_").
Diffstat (limited to 'Lib/test')
-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 80233a5..c00000e 100644
--- a/Lib/test/test_embed.py
+++ b/Lib/test/test_embed.py
@@ -277,8 +277,6 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
'filesystem_errors': None,
'utf8_mode': 0,
- 'coerce_c_locale': 0,
- 'coerce_c_locale_warn': 0,
'pycache_prefix': NULL_STR,
'program_name': './_testembed',
@@ -306,6 +304,8 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
'_install_importlib': 1,
'_check_hash_pycs_mode': 'default',
'_frozen': 0,
+ '_coerce_c_locale': 0,
+ '_coerce_c_locale_warn': 0,
}
def get_stdio_encoding(self, env):