diff options
author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-03-31 12:09:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-31 12:09:17 +0200 |
commit | 195e0cb1709e96144ccbb9863ff8526f4c733f63 (patch) | |
tree | 727e42136d3458844a7a0908a425d5d7eb721cca /docs/_ext/djangodocs.py | |
parent | 8aa71f4e8706b6b3e4e60aaffb29d004e1378ae3 (diff) | |
download | django-195e0cb1709e96144ccbb9863ff8526f4c733f63.tar.gz |
Refs #31040 -- Used 402 HTTP status in middleware_exceptions tests.
HTTP status code 418 - "I'm a Teaport" was added to http.HTTPStatus in
Python 3.9.0a5 [1] that caused failures in middleware_exceptions tests.
This changes HTTP status used in middleware_exceptions tests to 402,
which exists in all supported versions of Python.
[1] https://docs.python.org/3.9/whatsnew/3.9.html#http
Diffstat (limited to 'docs/_ext/djangodocs.py')
0 files changed, 0 insertions, 0 deletions