From ddd17239f11083bfa18d24a352c53ee90b386ff4 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Wed, 11 Dec 2024 14:39:50 +0100 Subject: [PATCH] Apply suggestions from code review --- testing/run-write-tests.rst | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/testing/run-write-tests.rst b/testing/run-write-tests.rst index dbc9af747..bfb5eb83c 100644 --- a/testing/run-write-tests.rst +++ b/testing/run-write-tests.rst @@ -95,13 +95,10 @@ For example, using the command:: This default setting performs a few initial warm-up runs to stabilize the reference count, followed by additional runs to check for leaks. -If you want more control over the number of runs, you can specify ``warmups`` and ``repeats`` explicitly -For example:: +If you want more control over the number of runs, you can specify ``warmups`` and ``repeats`` explicitly:: python -m test -R : -This enables the refleak checker option, allowing you to perform warm-up runs -to stabilize reference counts followed by additional runs to verify any leaks. For instance, ``-R 3:2`` will first run the test 3 times to settle down the reference count, and then run it 2 more times to check for leaks.