summaryrefslogtreecommitdiff
path: root/psutil/tests/test_memory_leaks.py
diff options
context:
space:
mode:
Diffstat (limited to 'psutil/tests/test_memory_leaks.py')
-rwxr-xr-xpsutil/tests/test_memory_leaks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/psutil/tests/test_memory_leaks.py b/psutil/tests/test_memory_leaks.py
index 5cfec577..9069b1a3 100755
--- a/psutil/tests/test_memory_leaks.py
+++ b/psutil/tests/test_memory_leaks.py
@@ -489,5 +489,5 @@ class TestModuleFunctionsLeaks(TestMemoryLeak):
if __name__ == '__main__':
- from psutil.tests.runner import run
- run(__file__)
+ from psutil.tests.runner import run_from_name
+ run_from_name(__file__)