Only assert timezone awareness on datetimes that are not None.