()
| 123 | |
| 124 | |
| 125 | def test_repeated_time_with_error(): |
| 126 | dt = datetime(2013, 10, 27, 2, 30, 45, 123456) |
| 127 | tz = timezone("Europe/Paris") |
| 128 | with pytest.raises(AmbiguousTime): |
| 129 | tz.convert(dt, raise_on_unknown_times=True) |
| 130 | |
| 131 | |
| 132 | def test_pendulum_create_basic(): |