(tz_str)
| 1754 | @pytest.mark.tzstr |
| 1755 | @pytest.mark.parametrize('tz_str', DEFAULT_TZSTR_RULES_EQUIV_2003) |
| 1756 | def test_tzstr_default_end(tz_str): |
| 1757 | tzi = tz.tzstr(tz_str) |
| 1758 | dt_dst = datetime(2003, 10, 26, 0, 59, tzinfo=tzi) |
| 1759 | dt_dst_ambig = datetime(2003, 10, 26, 1, 00, tzinfo=tzi) |
| 1760 | dt_std_ambig = tz.enfold(dt_dst_ambig, fold=1) |
| 1761 | dt_std = datetime(2003, 10, 26, 2, 00, tzinfo=tzi) |
| 1762 | |
| 1763 | assert get_timezone_tuple(dt_dst) == EDT_TUPLE |
| 1764 | assert get_timezone_tuple(dt_dst_ambig) == EDT_TUPLE |
| 1765 | assert get_timezone_tuple(dt_std_ambig) == EST_TUPLE |
| 1766 | assert get_timezone_tuple(dt_std) == EST_TUPLE |
| 1767 | |
| 1768 | |
| 1769 | @pytest.mark.tzstr |
nothing calls this directly
no test coverage detected