summaryrefslogtreecommitdiff
path: root/psutil/tests/test_contracts.py
diff options
context:
space:
mode:
Diffstat (limited to 'psutil/tests/test_contracts.py')
-rwxr-xr-xpsutil/tests/test_contracts.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/psutil/tests/test_contracts.py b/psutil/tests/test_contracts.py
index 74c429be..69bb0b2f 100755
--- a/psutil/tests/test_contracts.py
+++ b/psutil/tests/test_contracts.py
@@ -682,5 +682,5 @@ class TestFetchAllProcesses(unittest.TestCase):
if __name__ == '__main__':
- from psutil.tests.runner import run
- run(__file__)
+ from psutil.tests.runner import run_from_name
+ run_from_name(__file__)