summaryrefslogtreecommitdiff
path: root/tests/test_utils
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2023-09-14 12:39:20 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-09-18 22:12:40 +0200
commitc35fd9e2750a3e49a57d9fef964b9ef3e7cb49cb (patch)
treed1713e3577ddb2407090dcab9f64a1d17a886ca4 /tests/test_utils
parent7433237664e9a942d6584b4e70fd6a5174cf8f39 (diff)
Refs #33990 -- Removed SimpleTestCase.assertFormsetError() per deprecation timeline.
Diffstat (limited to 'tests/test_utils')
-rw-r--r--tests/test_utils/tests.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/test_utils/tests.py b/tests/test_utils/tests.py
index cdb0453e44..ef72fb9fdb 100644
--- a/tests/test_utils/tests.py
+++ b/tests/test_utils/tests.py
@@ -1425,15 +1425,6 @@ class AssertFormErrorTests(SimpleTestCase):
class AssertFormSetErrorTests(SimpleTestCase):
- def test_rename_assertformseterror_deprecation_warning(self):
- msg = "assertFormsetError() is deprecated in favor of assertFormSetError()."
- with self.assertRaisesMessage(RemovedInDjango51Warning, msg):
- self.assertFormsetError()
-
- @ignore_warnings(category=RemovedInDjango51Warning)
- def test_deprecated_assertformseterror(self):
- self.assertFormsetError(TestFormset.invalid(), 0, "field", "invalid value")
-
def test_single_error(self):
self.assertFormSetError(TestFormset.invalid(), 0, "field", "invalid value")