summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2020-05-06 00:18:55 +0200
committerGiampaolo Rodola <g.rodola@gmail.com>2020-05-06 00:18:55 +0200
commit5c3304cd163212fedb80eedaa92810f27586aef8 (patch)
tree89a802d7d5e2dab5c73df563658757c99ed58971
parent9cd6fa69c06b0b002fd3cd280965dbb6c803136c (diff)
downloadpsutil-numfds-test-case-class.tar.gz
update docstringnumfds-test-case-class
-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