summaryrefslogtreecommitdiff
path: root/docs/topics/testing
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2016-06-16 11:19:18 -0700
committerTim Graham <timograham@gmail.com>2016-06-16 14:19:18 -0400
commit4f336f66523001b009ab038b10848508fd208b3b (patch)
tree47474fb588013f1770246455ef7aa1a4163a1edb /docs/topics/testing
parentea34426ae789d31b036f58c8fd59ce299649e91e (diff)
Fixed #26747 -- Used more specific assertions in the Django test suite.
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 4d6160c3fb..79de07cad2 100644
--- a/docs/topics/testing/overview.txt
+++ b/docs/topics/testing/overview.txt
@@ -302,8 +302,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