diff --git a/bookwyrm/tests/templatetags/test_status_display.py b/bookwyrm/tests/templatetags/test_status_display.py index e62b75f371..de7d3ae2fe 100644 --- a/bookwyrm/tests/templatetags/test_status_display.py +++ b/bookwyrm/tests/templatetags/test_status_display.py @@ -114,7 +114,12 @@ def test_get_published_date(self, *_): with patch("django.utils.timezone.now") as timezone_mock: timezone_mock.return_value = datetime.datetime( # 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) self.assertEqual(result, "January 1")