()
| 237 | |
| 238 | |
| 239 | def test_dst(): |
| 240 | tz = pendulum.timezone("Europe/Amsterdam") |
| 241 | dst = tz.dst(datetime(1940, 7, 1)) |
| 242 | native_tz = zoneinfo.ZoneInfo("Europe/Amsterdam") |
| 243 | |
| 244 | assert dst == native_tz.dst(datetime(1940, 7, 1)) |
| 245 | |
| 246 | |
| 247 | def test_short_timezones_should_not_modify_time(): |