Permalink
Browse files

Added missing versionadded annotation and tweaked release note; refs …

…#22465.
  • Loading branch information...
1 parent 8394e57 commit dc7bc42cce39f8141df40d831de9befb13946fef @timgraham timgraham committed Apr 18, 2014
Showing with 4 additions and 2 deletions.
  1. +2 −2 docs/releases/1.8.txt
  2. +2 −0 docs/topics/testing/tools.txt
View
@@ -155,8 +155,8 @@ Tests
:meth:`~django.test.SimpleTestCase.assertTemplateUsed`. This allows you to
assert that a template was rendered a specific number of times.
-* :meth:`~django.test.SimpleTestCase.assertJSONNotEqual` new assertion allow
- you to test that two JSON fragments are not equal.
+* The new :meth:`~django.test.SimpleTestCase.assertJSONNotEqual` assertion
+ allows you to test that two JSON fragments are not equal.
Validators
^^^^^^^^^^
@@ -1460,6 +1460,8 @@ your test suite.
.. method:: SimpleTestCase.assertJSONNotEqual(raw, expected_data, msg=None)
+ .. versionadded:: 1.8
+
Asserts that the JSON fragments ``raw`` and ``expected_data`` are *not* equal.
See :meth:`~SimpleTestCase.assertJSONEqual` for further details.

0 comments on commit dc7bc42

Please sign in to comment.