1
0
mirror of https://github.com/django/django.git synced 2025-07-03 17:29:12 +00:00

Remove reference to removed method

This commit is contained in:
Jake Howard 2024-10-17 17:05:57 +01:00
parent 358e0f4bf5
commit a6153630ad
No known key found for this signature in database
GPG Key ID: 57AFB45680EDD477

View File

@ -58,7 +58,6 @@ class JSONNormalizeTestCase(SimpleTestCase):
def test_encode_error(self): def test_encode_error(self):
for example in [self, any, datetime.datetime.now()]: for example in [self, any, datetime.datetime.now()]:
with self.subTest(example): with self.subTest(example):
self.assertFalse(utils.is_json_serializable(example))
self.assertRaises(TypeError, utils.json_normalize, example) self.assertRaises(TypeError, utils.json_normalize, example)