Mariusz Felisiak b61f44c339 [3.2.x] Fixed #33082 -- Fixed CommandTests.test_subparser_invalid_option on Python 3.9.7+.
Thanks Michał Górny for the report.

Backport of 50ed545e2fa02c51e0d1559b83624f256e4b499b from main.
2021-09-02 10:59:30 +02:00
..
2017-06-01 13:23:48 -04:00

To run the test suite, first, create and activate a virtual environment. Then install some requirements and run the tests:

$ cd tests
$ python -m pip install -e ..
$ python -m pip install -r requirements/py3.txt
$ ./runtests.py

For more information about the test suite, see https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/.