black formatting

This commit is contained in:
Hugh Rundle 2024-09-19 19:46:03 +10:00
parent 6745a9a3f5
commit 514c54f30a
No known key found for this signature in database
GPG key ID: A7E35779918253F9

View file

@ -114,7 +114,12 @@ class StatusDisplayTags(TestCase):
with patch("django.utils.timezone.now") as timezone_mock: with patch("django.utils.timezone.now") as timezone_mock:
timezone_mock.return_value = datetime.datetime( timezone_mock.return_value = datetime.datetime(
# bookwyrm-social#3365: bug with exact month deltas # bookwyrm-social#3365: bug with exact month deltas
2022, 3, 1, 0, 0, tzinfo=datetime.timezone.utc 2022,
3,
1,
0,
0,
tzinfo=datetime.timezone.utc,
) )
result = status_display.get_published_date(date) result = status_display.get_published_date(date)
self.assertEqual(result, "January 1") self.assertEqual(result, "January 1")