test_journal: add missing make_naive (#47872)
This commit is contained in:
parent
1fc76fd66e
commit
911f847b24
|
@ -270,7 +270,9 @@ def test_journal_form_date_hierarchy(random_events, rf):
|
|||
[
|
||||
event
|
||||
for event in random_events
|
||||
if event.timestamp.year == year and event.timestamp.month == month and event.timestamp.day == day
|
||||
if make_naive(event.timestamp).year == year
|
||||
and make_naive(event.timestamp).month == month
|
||||
and make_naive(event.timestamp).day == day
|
||||
]
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue