From 7f63b894c02effb09c15ab0b40d28b89553b8e37 Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Sat, 24 Nov 2018 06:28:28 -0500 Subject: Adjusted code style of a few test data setup methods. Thanks Mariusz for suggesting it. --- tests/postgres_tests/test_array.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'tests/postgres_tests/test_array.py') 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): -- cgit v1.3