diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2017-11-12 02:23:32 +0100 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2017-11-12 02:23:32 +0100 |
commit | d32973d145bd50f22407d4b8d936f1da6be7313c (patch) | |
tree | a34675dab3d0bec7349b97f528bc4c1126ae39c5 /psutil/_psutil_common.c | |
parent | 0797f32c20b2b722cfb93752359fc4e67d5bdd88 (diff) | |
download | psutil-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.c | 12 |
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. |