1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Refs #26747 -- Corrected a method name in tutorial05.

This commit is contained in:
Vincent Zhang 2016-08-19 11:10:28 -04:00 committed by Tim Graham
parent 98385ac73b
commit 7b08e01c13

View File

@ -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``