mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.
This commit is contained in:
@@ -317,7 +317,7 @@ class RasterFieldTest(TransactionTestCase):
|
||||
|
||||
def test_lookup_value_error(self):
|
||||
# Test with invalid dict lookup parameter
|
||||
obj = dict()
|
||||
obj = {}
|
||||
msg = "Couldn't create spatial object from lookup value '%s'." % obj
|
||||
with self.assertRaisesMessage(ValueError, msg):
|
||||
RasterModel.objects.filter(geom__intersects=obj)
|
||||
|
||||
Reference in New Issue
Block a user