From 04243e2455c2fef41d7aafe619a64afc1c7bc6cf Mon Sep 17 00:00:00 2001 From: wesley Date: Wed, 9 Oct 2024 18:43:40 -0400 Subject: [PATCH] ticket #34699. reformatting code --- tests/db_functions/datetime/test_extract_trunc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/db_functions/datetime/test_extract_trunc.py b/tests/db_functions/datetime/test_extract_trunc.py index 60f0529efb..3580356d43 100644 --- a/tests/db_functions/datetime/test_extract_trunc.py +++ b/tests/db_functions/datetime/test_extract_trunc.py @@ -1969,7 +1969,7 @@ class DateFunctionWithTimeZoneTests(DateFunctionTests): ).filter(id=non_utc_model.id, start_trunc__lte=now) self.assertNotEqual(models_qs.count(), 1) adjusted_now = timezone.localtime(now).replace( - tzinfo=zoneinfo.ZoneInfo(key='UTC') + tzinfo=zoneinfo.ZoneInfo(key="UTC") ) models_qs = DTModel.objects.annotate( start_trunc=TruncSecond("start_datetime")