diff options
Diffstat (limited to 'psutil/_psutil_osx.c')
-rw-r--r-- | psutil/_psutil_osx.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/psutil/_psutil_osx.c b/psutil/_psutil_osx.c index 20ece694..7d762a1c 100644 --- a/psutil/_psutil_osx.c +++ b/psutil/_psutil_osx.c @@ -1779,7 +1779,6 @@ psutil_cpu_stats(PyObject *self, PyObject *args) { */ static PyMethodDef PsutilMethods[] = { - // --- per-process functions {"proc_kinfo_oneshot", psutil_proc_kinfo_oneshot, METH_VARARGS, @@ -1841,6 +1840,10 @@ PsutilMethods[] = { {"cpu_stats", psutil_cpu_stats, METH_VARARGS, "Return CPU statistics"}, + // --- others + {"py_psutil_testing", py_psutil_testing, METH_VARARGS, + "Return True if PSUTIL_TESTING env var is set"}, + {NULL, NULL, 0, NULL} }; |