diff options
| author | SaJH <wogur981208@gmail.com> | 2025-08-26 00:50:53 +0900 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2025-08-28 08:52:43 +0200 |
| commit | 3c0c54351b58e9386375d2bd7a8c60dadc4bb6e8 (patch) | |
| tree | 38a78ca516fc998ae29818fa7950af5278bc7c9b /docs/topics/testing | |
| parent | 1285de557b0b8b9c5ebe5de0114b2da5abe60f80 (diff) | |
Fixed #36570 -- Removed unnecessary :py domain from documentation roles.
Signed-off-by: SaJH <wogur981208@gmail.com>
Diffstat (limited to 'docs/topics/testing')
| -rw-r--r-- | docs/topics/testing/advanced.txt | 6 | ||||
| -rw-r--r-- | docs/topics/testing/overview.txt | 2 | ||||
| -rw-r--r-- | docs/topics/testing/tools.txt | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/docs/topics/testing/advanced.txt b/docs/topics/testing/advanced.txt index fcc9c782c7..6a334f0862 100644 --- a/docs/topics/testing/advanced.txt +++ b/docs/topics/testing/advanced.txt @@ -587,7 +587,7 @@ and tear down the test suite. If ``buffer`` is ``True``, outputs from passing tests will be discarded. - If ``enable_faulthandler`` is ``True``, :py:mod:`faulthandler` will be + If ``enable_faulthandler`` is ``True``, :mod:`faulthandler` will be enabled. If ``timing`` is ``True``, test timings, including database setup and total @@ -601,7 +601,7 @@ and tear down the test suite. :ref:`Grouping by test class <order-of-tests>` is preserved when using this option. - ``logger`` can be used to pass a Python :py:ref:`Logger object <logger>`. + ``logger`` can be used to pass a Python :ref:`Logger object <logger>`. If provided, the logger will be used to log messages instead of printing to the console. The logger object will respect its logging level rather than the ``verbosity``. @@ -661,7 +661,7 @@ Methods Override this class method to add custom arguments accepted by the :djadmin:`test` management command. See - :py:meth:`argparse.ArgumentParser.add_argument` for details about adding + :meth:`argparse.ArgumentParser.add_argument` for details about adding arguments to a parser. .. method:: DiscoverRunner.setup_test_environment(**kwargs) diff --git a/docs/topics/testing/overview.txt b/docs/topics/testing/overview.txt index cafd9dd883..aa171a8caa 100644 --- a/docs/topics/testing/overview.txt +++ b/docs/topics/testing/overview.txt @@ -83,7 +83,7 @@ your project's ``manage.py`` utility: $ ./manage.py test -Test discovery is based on the unittest module's :py:ref:`built-in test +Test discovery is based on the unittest module's :ref:`built-in test discovery <unittest-test-discovery>`. By default, this will discover tests in any file named ``test*.py`` under the current working directory. diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt index 4c93e762c7..bd41d6221b 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -965,7 +965,7 @@ It also provides an additional method: called before each test, negating the speed benefits. Objects assigned to class attributes in ``setUpTestData()`` must support - creating deep copies with :py:func:`copy.deepcopy` in order to isolate them + creating deep copies with :func:`copy.deepcopy` in order to isolate them from alterations performed by each test methods. .. classmethod:: TestCase.captureOnCommitCallbacks(using=DEFAULT_DB_ALIAS, execute=False) |
