--
Ticket URL: <https://code.djangoproject.com/ticket/31557>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Comment (by Sergey Fedoseev):
See https://github.com/django/django/pull/6760#discussion_r66713822
--
Ticket URL: <https://code.djangoproject.com/ticket/31557#comment:1>
* status: new => closed
* resolution: => wontfix
Comment:
Our [https://docs.djangoproject.com/en/3.0/internals/contributing/writing-
code/coding-style/#python-style Python style] describes why we prefer
`assertIs(..., True/False)`:
> Use `assertIs(…, True/False)` for testing boolean values, rather than
`assertTrue()` and `assertFalse()`, so you can check the actual boolean
value, not the truthiness of the expression.
--
Ticket URL: <https://code.djangoproject.com/ticket/31557#comment:2>