diff options
| author | Jacob Walls <jacobtylerwalls@gmail.com> | 2026-02-27 13:36:16 -0500 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2026-02-27 17:06:46 -0500 |
| commit | e4372f1b5c8877bd0ed792606eb97641ca913368 (patch) | |
| tree | 3f5ab9514761efcd7a3a837c650c47919ca32533 /tests/expressions | |
| parent | 97cab5fe6526ca175ae520711c61a25c4f8cbb11 (diff) | |
Refs #35972 -- Returned params in a tuple in further expressions.
Diffstat (limited to 'tests/expressions')
| -rw-r--r-- | tests/expressions/tests.py | 4 |
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() |
