mirror of
https://github.com/django/django.git
synced 2025-03-12 02:12:38 +00:00
Python 3.10.0rc1 changed the error messages issued by argparse on invalid choice to include the argument name. Update the expected test output to account for that.
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/.