Projet

Général

Profil

0001-test_journal-add-missing-make_naive-47872.patch

Valentin Deniaud, 20 octobre 2020 10:34

Télécharger (917 octets)

Voir les différences:

Subject: [PATCH] test_journal: add missing make_naive (#47872)

 tests/test_journal.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
tests/test_journal.py
270 270
        [
271 271
            event
272 272
            for event in random_events
273
            if event.timestamp.year == year and event.timestamp.month == month and event.timestamp.day == day
273
            if make_naive(event.timestamp).year == year
274
            and make_naive(event.timestamp).month == month
275
            and make_naive(event.timestamp).day == day
274 276
        ]
275 277
    )
276 278

  
277
-