@@ -34,8 +34,8 @@ particular the :ref:`additional dependencies <test-dependencies>` for testing.
3434
3535.. _run_tests :
3636
37- Running the tests
38- -----------------
37+ Run the tests
38+ -------------
3939
4040In the root directory of your development repository run::
4141
@@ -82,8 +82,8 @@ to avoid clashes between ``pytest``'s import mode and Python's search path:
8282
8383 python -m pytest --import-mode prepend
8484
85- Viewing image test output
86- ^^^^^^^^^^^^^^^^^^^^^^^^^
85+ View image test output
86+ ^^^^^^^^^^^^^^^^^^^^^^
8787
8888The output of :ref: `image-based <image-comparison >` tests is stored in a
8989``result_images `` directory. These images can be compiled into one HTML page, containing
@@ -100,8 +100,8 @@ to the folder where the baseline test images are stored. The triage tool require
100100:ref: `QT <backend_dependencies >` is installed.
101101
102102
103- Writing tests
104- -------------
103+ Write tests
104+ -----------
105105Tests are located in :file: `lib/matplotlib/tests `. They are organized to mirror
106106the structure of the code in :file: `lib/matplotlib `. For example, tests for
107107the ``mathtext.py `` module are in :file: `lib/matplotlib/tests/test_mathtext.py `.
@@ -284,8 +284,8 @@ See the documentation of `~matplotlib.testing.decorators.image_comparison` and
284284`~matplotlib.testing.decorators.check_figures_equal ` for additional information
285285about their use.
286286
287- Using GitHub Actions for CI
288- ---------------------------
287+ CI with GitHub Actions
288+ ----------------------
289289
290290`GitHub Actions <https://docs.github.com/en/actions >`_ is a hosted CI system
291291"in the cloud".
@@ -311,8 +311,8 @@ https://github.com/your_GitHub_user_name/matplotlib/actions -- here's `an
311311example <https://github.com/QuLogic/matplotlib/actions> `_.
312312
313313
314- Using tox
315- ---------
314+ tox: Test multiple python versions
315+ ----------------------------------
316316
317317`Tox <https://tox.readthedocs.io/en/latest/ >`_ is a tool for running tests
318318against multiple Python environments, including multiple versions of Python
@@ -352,17 +352,17 @@ tests are run. For more info on the ``tox.ini`` file, see the `Tox
352352Configuration Specification
353353<https://tox.readthedocs.io/en/latest/config.html> `_.
354354
355- Building old versions of Matplotlib
356- -----------------------------------
355+ Build old versions of Matplotlib
356+ --------------------------------
357357
358358When running a ``git bisect `` to see which commit introduced a certain bug,
359359you may (rarely) need to build very old versions of Matplotlib. The following
360360constraints need to be taken into account:
361361
362362- Matplotlib 1.3 (or earlier) requires numpy 1.8 (or earlier).
363363
364- Testing released versions of Matplotlib
365- ---------------------------------------
364+ Test released versions of Matplotlib
365+ ------------------------------------
366366Running the tests on an installation of a released version (e.g. PyPI package
367367or conda package) also requires additional setup.
368368
0 commit comments