mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Adjusted code style of a few test data setup methods.
Thanks Mariusz for suggesting it.
This commit is contained in:
parent
84e7a9f4a7
commit
7f63b894c0
7 changed files with 18 additions and 36 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue