Added missing versionadded annotation and tweaked release note; refs #22465.

This commit is contained in:
Tim Graham 2014-04-18 07:13:20 -04:00
parent 8394e570ba
commit dc7bc42cce
2 changed files with 4 additions and 2 deletions

View File

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

View File

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