summaryrefslogtreecommitdiff
path: root/docs/topics/testing
diff options
context:
space:
mode:
Diffstat (limited to 'docs/topics/testing')
-rw-r--r--docs/topics/testing/overview.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/testing/overview.txt b/docs/topics/testing/overview.txt
index eca477bdd9..aa6a7af191 100644
--- a/docs/topics/testing/overview.txt
+++ b/docs/topics/testing/overview.txt
@@ -304,8 +304,8 @@ failed::
----------------------------------------------------------------------
Traceback (most recent call last):
File "/dev/mysite/polls/tests.py", line 16, in test_was_published_recently_with_future_poll
- self.assertEqual(future_poll.was_published_recently(), False)
- AssertionError: True != False
+ self.assertIs(future_poll.was_published_recently(), False)
+ AssertionError: True is not False
----------------------------------------------------------------------
Ran 1 test in 0.003s