1
0
mirror of https://github.com/django/django.git synced 2025-04-10 08:19:39 +00:00

[1.10.x] Refs #26747 -- Corrected a method name in tutorial05.

Backport of 7b08e01c1358aedbd46fa26c91d4613d642ff609 from master
This commit is contained in:
Vincent Zhang 2016-08-19 11:10:28 -04:00 committed by Tim Graham
parent 557c1a6a42
commit e5103de2d1

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