mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
ticket #34699. reformatting code
This commit is contained in:
parent
87731a1129
commit
04243e2455
@ -1969,7 +1969,7 @@ class DateFunctionWithTimeZoneTests(DateFunctionTests):
|
|||||||
).filter(id=non_utc_model.id, start_trunc__lte=now)
|
).filter(id=non_utc_model.id, start_trunc__lte=now)
|
||||||
self.assertNotEqual(models_qs.count(), 1)
|
self.assertNotEqual(models_qs.count(), 1)
|
||||||
adjusted_now = timezone.localtime(now).replace(
|
adjusted_now = timezone.localtime(now).replace(
|
||||||
tzinfo=zoneinfo.ZoneInfo(key='UTC')
|
tzinfo=zoneinfo.ZoneInfo(key="UTC")
|
||||||
)
|
)
|
||||||
models_qs = DTModel.objects.annotate(
|
models_qs = DTModel.objects.annotate(
|
||||||
start_trunc=TruncSecond("start_datetime")
|
start_trunc=TruncSecond("start_datetime")
|
||||||
|
Loading…
Reference in New Issue
Block a user