mirror of https://github.com/django/django.git
Fixed flake8 typo.
This commit is contained in:
parent
fdccc02576
commit
8fc0fe1ef4
|
@ -311,5 +311,5 @@ class RawQueryTests(TestCase):
|
|||
|
||||
def test_decimal_parameter(self):
|
||||
c = Coffee.objects.create(brand='starbucks', price=20.5)
|
||||
qs = Coffee.objects.raw("SELECT * FROM raw_query_coffee WHERE price >= %s", params=[Decimal(20)])
|
||||
qs = Coffee.objects.raw("SELECT * FROM raw_query_coffee WHERE price >= %s", params=[Decimal(20)])
|
||||
self.assertEqual(list(qs), [c])
|
||||
|
|
Loading…
Reference in New Issue