summaryrefslogtreecommitdiff
path: root/tests/postgres_tests/test_array.py
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2018-11-24 06:28:28 -0500
committerTim Graham <timograham@gmail.com>2018-11-27 09:48:22 -0500
commit7f63b894c02effb09c15ab0b40d28b89553b8e37 (patch)
tree03802b01266db92834562ae80cf73c97b0cb8f5a /tests/postgres_tests/test_array.py
parent84e7a9f4a7bb3cad2bffae97baaae99de152c451 (diff)
Adjusted code style of a few test data setup methods.
Thanks Mariusz for suggesting it.
Diffstat (limited to 'tests/postgres_tests/test_array.py')
-rw-r--r--tests/postgres_tests/test_array.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/postgres_tests/test_array.py b/tests/postgres_tests/test_array.py
index f878ad3fb5..447d511c9f 100644
--- a/tests/postgres_tests/test_array.py
+++ b/tests/postgres_tests/test_array.py
@@ -376,11 +376,7 @@ class TestDateTimeExactQuerying(PostgreSQLTestCase):
cls.dates = [now.date()]
cls.times = [now.time()]
cls.objs = [
- DateTimeArrayModel.objects.create(
- datetimes=cls.datetimes,
- dates=cls.dates,
- times=cls.times,
- )
+ DateTimeArrayModel.objects.create(datetimes=cls.datetimes, dates=cls.dates, times=cls.times),
]
def test_exact_datetimes(self):