summaryrefslogtreecommitdiff
path: root/docs/internals/contributing/writing-code
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2021-01-19 08:35:16 +0100
committerCarlton Gibson <carlton@noumenal.es>2021-02-10 10:20:54 +0100
commitec0ff406311de88f4e2a135d784363424fe602aa (patch)
treec1659b85ea145704a1b733d40a6a9a45e9332d0f /docs/internals/contributing/writing-code
parent9c6ba876928fd20194ac3238dc06aeae66d7bd50 (diff)
downloaddjango-ec0ff406311de88f4e2a135d784363424fe602aa.tar.gz
Fixed #32355 -- Dropped support for Python 3.6 and 3.7
Diffstat (limited to 'docs/internals/contributing/writing-code')
-rw-r--r--docs/internals/contributing/writing-code/unit-tests.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/internals/contributing/writing-code/unit-tests.txt b/docs/internals/contributing/writing-code/unit-tests.txt
index fef10b2db4..373df5ea42 100644
--- a/docs/internals/contributing/writing-code/unit-tests.txt
+++ b/docs/internals/contributing/writing-code/unit-tests.txt
@@ -89,14 +89,14 @@ 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.7
+<running-unit-tests-settings>`. For example, to run the tests on Python 3.9
using PostgreSQL:
.. console::
- $ tox -e py37-postgres -- --settings=my_postgres_settings
+ $ tox -e py39-postgres -- --settings=my_postgres_settings
-This command sets up a Python 3.7 virtual environment, installs Django's
+This command sets up a Python 3.9 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``).
@@ -110,14 +110,14 @@ set. For example, the following is equivalent to the command above:
.. code-block:: console
- $ DJANGO_SETTINGS_MODULE=my_postgres_settings tox -e py35-postgres
+ $ DJANGO_SETTINGS_MODULE=my_postgres_settings tox -e py39-postgres
Windows users should use:
.. code-block:: doscon
...\> set DJANGO_SETTINGS_MODULE=my_postgres_settings
- ...\> tox -e py35-postgres
+ ...\> tox -e py39-postgres
Running the JavaScript tests
~~~~~~~~~~~~~~~~~~~~~~~~~~~~