Commit dc7bc42c authored by Tim Graham's avatar Tim Graham
Browse files

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

parent 8394e570
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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
^^^^^^^^^^
+2 −0
Original line number Diff line number Diff line
@@ -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.