瀏覽代碼

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

Vincent Zhang 8 年之前
父節點
當前提交
7b08e01c13
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/intro/tutorial05.txt

+ 1 - 1
docs/intro/tutorial05.txt

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