Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
encukou authored Dec 11, 2024
1 parent eb36fbc commit ddd1723
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions testing/run-write-tests.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <test_name> -R <warmups>:<repeats>

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.

Expand Down

0 comments on commit ddd1723

Please sign in to comment.