diff options
| author | Tim Graham <timograham@gmail.com> | 2019-01-18 10:04:29 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2019-01-30 10:19:48 -0500 |
| commit | 7e6b214ed34f5562dbd83cf54924a5b589a29715 (patch) | |
| tree | 2a2aa16c023638436bea449acdb06224bf7f33c7 /docs/internals/contributing/writing-code/unit-tests.txt | |
| parent | 5a5c77d55dc85c7e6cf910243257e408887f412a (diff) | |
Fixed #30116 -- Dropped support for Python 3.5.
Diffstat (limited to 'docs/internals/contributing/writing-code/unit-tests.txt')
| -rw-r--r-- | docs/internals/contributing/writing-code/unit-tests.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/internals/contributing/writing-code/unit-tests.txt b/docs/internals/contributing/writing-code/unit-tests.txt index 3480e3f2ca..51d1e61313 100644 --- a/docs/internals/contributing/writing-code/unit-tests.txt +++ b/docs/internals/contributing/writing-code/unit-tests.txt @@ -90,12 +90,12 @@ In addition to the default environments, ``tox`` supports running unit tests for other versions of Python and other database backends. Since Django's test suite doesn't bundle a settings file for database backends other than SQLite, however, you must :ref:`create and provide your own test settings -<running-unit-tests-settings>`. For example, to run the tests on Python 3.5 +<running-unit-tests-settings>`. For example, to run the tests on Python 3.7 using PostgreSQL:: - $ tox -e py35-postgres -- --settings=my_postgres_settings + $ tox -e py37-postgres -- --settings=my_postgres_settings -This command sets up a Python 3.5 virtual environment, installs Django's +This command sets up a Python 3.7 virtual environment, installs Django's test suite dependencies (including those for PostgreSQL), and calls ``runtests.py`` with the supplied arguments (in this case, ``--settings=my_postgres_settings``). |
