summaryrefslogtreecommitdiff
path: root/psutil/_psutil_common.h
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2017-11-11 21:35:41 +0100
committerGiampaolo Rodola <g.rodola@gmail.com>2017-11-11 21:35:41 +0100
commit0662915f58949a4084f9fb0c278d143708cf3ede (patch)
tree48ad658a3312343a1a42bf268a015aaace562c86 /psutil/_psutil_common.h
parentffde3264f09c5412ce3987617130f2c9d5d7a22b (diff)
downloadpsutil-test-flag.tar.gz
get rid of PSUTIL_TESTING env var: it must be necessarily set from cmdline, hence 'python -m psutil.tests' won't work out of the boxpsutil-test-flag
Diffstat (limited to 'psutil/_psutil_common.h')
-rw-r--r--psutil/_psutil_common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/psutil/_psutil_common.h b/psutil/_psutil_common.h
index 13404532..09999bba 100644
--- a/psutil/_psutil_common.h
+++ b/psutil/_psutil_common.h
@@ -12,7 +12,8 @@ static const int PSUTIL_CONN_NONE = 128;
PyObject* AccessDenied(void);
PyObject* NoSuchProcess(void);
int psutil_testing(void);
-PyObject* py_psutil_testing(PyObject *self, PyObject *args);
+PyObject* py_psutil_is_testing(PyObject *self, PyObject *args);
+PyObject* py_psutil_set_testing(PyObject *self, PyObject *args);
#if PY_MAJOR_VERSION < 3
PyObject* PyUnicode_DecodeFSDefault(char *s);
PyObject* PyUnicode_DecodeFSDefaultAndSize(char *s, Py_ssize_t size);