summaryrefslogtreecommitdiff
path: root/psutil/tests/test_system.py
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2019-03-13 07:30:52 +0100
committerGitHub <noreply@github.com>2019-03-13 07:30:52 +0100
commitc4467c90ef53cd9eba8ab8be620d71b8477d6ce9 (patch)
tree8fc2a0cac40340b539735eace454cf8c8b537d31 /psutil/tests/test_system.py
parentda2bdd6d7356b40baca5f2869a5d20e352e5356a (diff)
downloadpsutil-c4467c90ef53cd9eba8ab8be620d71b8477d6ce9.tar.gz
Coloured tests (#1459)
Fixes #1458.
Diffstat (limited to 'psutil/tests/test_system.py')
-rwxr-xr-xpsutil/tests/test_system.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/psutil/tests/test_system.py b/psutil/tests/test_system.py
index 51223fb0..43de8b99 100755
--- a/psutil/tests/test_system.py
+++ b/psutil/tests/test_system.py
@@ -45,7 +45,6 @@ from psutil.tests import HAS_SENSORS_TEMPERATURES
from psutil.tests import mock
from psutil.tests import reap_children
from psutil.tests import retry_before_failing
-from psutil.tests import run_test_module_by_name
from psutil.tests import safe_rmpath
from psutil.tests import TESTFN
from psutil.tests import TESTFN_UNICODE
@@ -868,4 +867,5 @@ class TestSystemAPIs(unittest.TestCase):
if __name__ == '__main__':
+ from psutil.tests.runner import run_test_module_by_name
run_test_module_by_name(__file__)