From 5c3304cd163212fedb80eedaa92810f27586aef8 Mon Sep 17 00:00:00 2001 From: Giampaolo Rodola Date: Wed, 6 May 2020 00:18:55 +0200 Subject: update docstring --- psutil/tests/__init__.py | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- cgit v1.2.1