()
| 1524 | |
| 1525 | |
| 1526 | def _zone_for_stream_tests(): |
| 1527 | STD = ZoneOffset("STD", -5 * ONE_H) |
| 1528 | DST = ZoneOffset("DST", -4 * ONE_H, ONE_H) |
| 1529 | return construct_zone( |
| 1530 | [ |
| 1531 | ZoneTransition(datetime(2020, 3, 8, 2), STD, DST), |
| 1532 | ZoneTransition(datetime(2020, 11, 1, 2), DST, STD), |
| 1533 | ], |
| 1534 | "STD5DST,M3.2.0,M11.1.0", |
| 1535 | ).read() |
| 1536 | |
| 1537 | |
| 1538 | def test_tzfile_from_pipe(): |
no test coverage detected