summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--psutil/tests/__init__.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/psutil/tests/__init__.py b/psutil/tests/__init__.py
index 27a537eb..12dbd98b 100644
--- a/psutil/tests/__init__.py
+++ b/psutil/tests/__init__.py
@@ -923,6 +923,13 @@ class TestMemoryLeak(PsutilTestCase):
PyPy appears to be completely unstable for this framework, probably
because of its JIT, so tests on PYPY are skipped.
+
+ Usage:
+
+ class TestLeaks(psutil.tests.TestMemoryLeak):
+
+ def test_fun(self):
+ self.execute(some_function)
"""
# Configurable class attrs.
times = 1000