diff options
author | Donghee Na <donghee.na@python.org> | 2023-10-10 10:00:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-10 10:00:09 (GMT) |
commit | 0362cbf908aff2b87298f8a9422e7b368f890071 (patch) | |
tree | 7d5ae0e1f44801fe2102cb783938c60ef99b7ae4 /Lib/test/test_embed.py | |
parent | 5aa62a8de15212577a13966710b3aede46e93824 (diff) | |
download | cpython-0362cbf908aff2b87298f8a9422e7b368f890071.zip cpython-0362cbf908aff2b87298f8a9422e7b368f890071.tar.gz cpython-0362cbf908aff2b87298f8a9422e7b368f890071.tar.bz2 |
gh-109595: Add -Xcpu_count=<n> cmdline for container users (#109667)
---------
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Gregory P. Smith [Google LLC] <greg@krypto.org>
Diffstat (limited to 'Lib/test/test_embed.py')
-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 06f2d8b..5a8690a 100644 --- a/Lib/test/test_embed.py +++ b/Lib/test/test_embed.py @@ -445,6 +445,7 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase): 'use_hash_seed': 0, 'hash_seed': 0, 'int_max_str_digits': sys.int_info.default_max_str_digits, + 'cpu_count': -1, 'faulthandler': 0, 'tracemalloc': 0, 'perf_profiling': 0, @@ -893,6 +894,7 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase): 'module_search_paths': self.IGNORE_CONFIG, 'safe_path': 1, 'int_max_str_digits': 31337, + 'cpu_count': 4321, 'check_hash_pycs_mode': 'always', 'pathconfig_warnings': 0, |