summaryrefslogtreecommitdiff
path: root/tests/expressions
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2026-02-27 13:36:16 -0500
committerJacob Walls <jacobtylerwalls@gmail.com>2026-02-27 17:06:46 -0500
commite4372f1b5c8877bd0ed792606eb97641ca913368 (patch)
tree3f5ab9514761efcd7a3a837c650c47919ca32533 /tests/expressions
parent97cab5fe6526ca175ae520711c61a25c4f8cbb11 (diff)
Refs #35972 -- Returned params in a tuple in further expressions.
Diffstat (limited to 'tests/expressions')
-rw-r--r--tests/expressions/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/expressions/tests.py b/tests/expressions/tests.py
index cb62d0fbd7..5effc8ac0d 100644
--- a/tests/expressions/tests.py
+++ b/tests/expressions/tests.py
@@ -2504,9 +2504,9 @@ class ValueTests(TestCase):
# This test might need to be revisited later on if #25425 is enforced.
compiler = Time.objects.all().query.get_compiler(connection=connection)
value = Value("foo")
- self.assertEqual(value.as_sql(compiler, connection), ("%s", ["foo"]))
+ self.assertEqual(value.as_sql(compiler, connection), ("%s", ("foo",)))
value = Value("foo", output_field=CharField())
- self.assertEqual(value.as_sql(compiler, connection), ("%s", ["foo"]))
+ self.assertEqual(value.as_sql(compiler, connection), ("%s", ("foo",)))
def test_output_field_decimalfield(self):
Time.objects.create()