(self)
| 240 | assert wtz.tzinfo == tz |
| 241 | |
| 242 | def test_tz_when_zoneinfo(self): |
| 243 | tz = ZoneInfo('US/Eastern') |
| 244 | wtz = make_aware(datetime.now(_timezone.utc), tz) |
| 245 | assert wtz.tzinfo == tz |
| 246 | |
| 247 | def test_maybe_make_aware(self): |
| 248 | aware = datetime.now(_timezone.utc).replace(tzinfo=timezone.utc) |
nothing calls this directly
no test coverage detected