mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
Fix a few more Python tests
This commit is contained in:
parent
59e1c245d1
commit
bc464a8898
7 changed files with 1018 additions and 547 deletions
1
third_party/python/Modules/posixmodule.c
vendored
1
third_party/python/Modules/posixmodule.c
vendored
|
@ -10681,7 +10681,6 @@ os_cpu_count_impl(PyObject *module)
|
|||
{
|
||||
int ncpu;
|
||||
ncpu = GetCpuCount();
|
||||
printf("cpu count %d\n", ncpu);
|
||||
if (ncpu >= 1)
|
||||
return PyLong_FromLong(ncpu);
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue