mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
bpo-40280: Address more test failures on Emscripten (GH-31050)
Co-authored-by: Brett Cannon <brett@python.org>
This commit is contained in:
parent
9d4161a60c
commit
96b344c2f1
27 changed files with 227 additions and 49 deletions
|
@ -78,6 +78,7 @@ get_resource_state(PyObject *module)
|
|||
|
||||
static struct PyModuleDef resourcemodule;
|
||||
|
||||
#ifdef HAVE_GETRUSAGE
|
||||
/*[clinic input]
|
||||
resource.getrusage
|
||||
|
||||
|
@ -134,6 +135,7 @@ resource_getrusage_impl(PyObject *module, int who)
|
|||
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
||||
static int
|
||||
py2rlimit(PyObject *limits, struct rlimit *rl_out)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue