mirror of
https://github.com/django/django.git
synced 2025-09-09 20:16:32 +00:00
Fixed flake8 typo.
This commit is contained in:
parent
fdccc02576
commit
8fc0fe1ef4
1 changed files with 1 additions and 1 deletions
|
@ -311,5 +311,5 @@ class RawQueryTests(TestCase):
|
||||||
|
|
||||||
def test_decimal_parameter(self):
|
def test_decimal_parameter(self):
|
||||||
c = Coffee.objects.create(brand='starbucks', price=20.5)
|
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])
|
self.assertEqual(list(qs), [c])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue