cpython/Modules/_decimal/tests
Victor Stinner a46e960768
gh-109649: Use os.process_cpu_count() (#110165)
Replace os.cpu_count() with os.process_cpu_count() in modules:

* compileall
* concurrent.futures
* multiprocessing

Replace os.cpu_count() with os.process_cpu_count() in programs:

* _decimal deccheck.py test
* freeze.py
* multissltests.py
* python -m test (regrtest)
* wasm_build.py

Other changes:

* test.pythoninfo logs os.process_cpu_count().
* regrtest gets os.process_cpu_count() / os.cpu_count() in headers.
2023-10-01 03:14:57 +02:00
..
README.txt
bench.py gh-108346: Fix failed benchmark in decimal (#108353) 2023-09-12 21:17:55 -07:00
bignum.py
deccheck.py gh-109649: Use os.process_cpu_count() (#110165) 2023-10-01 03:14:57 +02:00
formathelper.py gh-92584: test_decimal uses shutil.which() (#92640) 2022-05-11 01:42:09 +02:00
randdec.py
randfloat.py
runall-memorydebugger.sh bpo-39794: Add --without-decimal-contextvar (#18702) 2020-02-29 19:43:42 +01:00
runall.bat Update runall.bat to the latest Windows build system. (#18571) 2020-02-20 19:07:31 +01:00

README.txt


This directory contains extended tests and a benchmark against decimal.py:

  bench.py  ->  Benchmark for small and large precisions.
  Usage: ../../../python bench.py

  formathelper.py   ->
  randdec.py        ->  Generate test cases for deccheck.py.
  randfloat.py      ->

  deccheck.py  ->  Run extended tests.
  Usage: ../../../python deccheck.py [--short|--medium|--long|--all]