1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Fixed typo in tests/expressions/tests.py.

This commit is contained in:
Mariusz Felisiak 2021-05-24 07:24:25 +02:00
parent 7ef2398e81
commit 3f6d4e22f8

View File

@ -1806,10 +1806,10 @@ class ValueTests(TestCase):
(b'', BinaryField), (b'', BinaryField),
(uuid.uuid4(), UUIDField), (uuid.uuid4(), UUIDField),
] ]
for value, ouput_field_type in value_types: for value, output_field_type in value_types:
with self.subTest(type=type(value)): with self.subTest(type=type(value)):
expr = Value(value) expr = Value(value)
self.assertIsInstance(expr.output_field, ouput_field_type) self.assertIsInstance(expr.output_field, output_field_type)
def test_resolve_output_field_failure(self): def test_resolve_output_field_failure(self):
msg = 'Cannot resolve expression type, unknown output_field' msg = 'Cannot resolve expression type, unknown output_field'