diff options
| author | kikobarr <34662575+kikobarr@users.noreply.github.com> | 2026-06-07 22:54:28 -0700 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2026-06-09 11:00:19 -0400 |
| commit | beb40ed1d2b0503814591a37b08ecbd71f2ff729 (patch) | |
| tree | 815741cd2bc57cc9c8ff8f260225e36045c84311 /docs | |
| parent | 142b881cecaddc334cabec139e701c0e4b9798da (diff) | |
Fixed #37106 -- Clarified pylibmc workaround in unit test docs.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/internals/contributing/writing-code/unit-tests.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/internals/contributing/writing-code/unit-tests.txt b/docs/internals/contributing/writing-code/unit-tests.txt index b6bfd5875d..11de731d71 100644 --- a/docs/internals/contributing/writing-code/unit-tests.txt +++ b/docs/internals/contributing/writing-code/unit-tests.txt @@ -39,10 +39,12 @@ that your computer doesn't have installed. You can usually figure out which package to install by doing a web search for the last line or so of the error message. Try adding your operating system to the search query if needed. -If you have trouble installing the requirements, you can skip that step. See +If you have trouble installing an optional test dependency, you can skip that +dependency locally. For example, if installing ``pylibmc`` fails, comment out +its line in ``requirements/py3.txt`` and continue with ``./runtests.py``. +Tests that require ``pylibmc`` will be skipped automatically. See :ref:`running-unit-tests-dependencies` for details on installing the optional -test dependencies. If you don't have an optional dependency installed, the -tests that require it will be skipped. +test dependencies. Running the tests requires a Django settings module that defines the databases to use. To help you get started, Django provides and uses a sample settings |
