[1.10.x] Refs #26747 -- Corrected a method name in tutorial05.
Backport of 7b08e01c13
from master
This commit is contained in:
parent
557c1a6a42
commit
e5103de2d1
|
@ -225,7 +225,7 @@ What happened is this:
|
|||
* in ``test_was_published_recently_with_future_question`` it created a ``Question``
|
||||
instance whose ``pub_date`` field is 30 days in the future
|
||||
|
||||
* ... and using the ``assertEqual()`` method, it discovered that its
|
||||
* ... and using the ``assertIs()`` method, it discovered that its
|
||||
``was_published_recently()`` returns ``True``, though we wanted it to return
|
||||
``False``
|
||||
|
||||
|
|
Loading…
Reference in New Issue