summaryrefslogtreecommitdiff
path: root/psutil/_psutil_bsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'psutil/_psutil_bsd.c')
-rw-r--r--psutil/_psutil_bsd.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/psutil/_psutil_bsd.c b/psutil/_psutil_bsd.c
index 3527b666..7b0f140e 100644
--- a/psutil/_psutil_bsd.c
+++ b/psutil/_psutil_bsd.c
@@ -984,8 +984,10 @@ PsutilMethods[] = {
#endif
// --- others
- {"py_psutil_testing", py_psutil_testing, METH_VARARGS,
- "Return True if PSUTIL_TESTING env var is set"},
+ {"py_psutil_is_testing", py_psutil_is_testing, METH_VARARGS,
+ "Return True if psutil is in testing mode"},
+ {"py_psutil_set_testing", py_psutil_set_testing, METH_VARARGS,
+ "Set psutil in testing mode"},
{NULL, NULL, 0, NULL}
};