summaryrefslogtreecommitdiff
path: root/psutil/_psutil_common.c
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2017-11-12 02:23:32 +0100
committerGiampaolo Rodola <g.rodola@gmail.com>2017-11-12 02:23:32 +0100
commitd32973d145bd50f22407d4b8d936f1da6be7313c (patch)
treea34675dab3d0bec7349b97f528bc4c1126ae39c5 /psutil/_psutil_common.c
parent0797f32c20b2b722cfb93752359fc4e67d5bdd88 (diff)
downloadpsutil-d32973d145bd50f22407d4b8d936f1da6be7313c.tar.gz
re-enable test on appveyor; remove unused C code
Diffstat (limited to 'psutil/_psutil_common.c')
-rw-r--r--psutil/_psutil_common.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/psutil/_psutil_common.c b/psutil/_psutil_common.c
index 970acb32..694aa147 100644
--- a/psutil/_psutil_common.c
+++ b/psutil/_psutil_common.c
@@ -57,18 +57,6 @@ psutil_testing(void) {
/*
- * Same as above but return a Python bool.
- */
-PyObject *
-py_psutil_is_testing(PyObject *self, PyObject *args) {
- PyObject *res;
- res = psutil_testing() ? Py_True : Py_False;
- Py_INCREF(res);
- return res;
-}
-
-
-/*
* Enable testing mode. This has the same effect as setting PSUTIL_TESTING
* env var. The dual method exists because updating os.environ on
* Windows has no effect.