(tz_str, expected)
| 1708 | end=relativedelta(hours=+1, month=11, day=31, weekday=SU(-3)))), |
| 1709 | ]) |
| 1710 | def test_valid_dateutil_format(tz_str, expected): |
| 1711 | # This tests the dateutil-specific format that is used widely in the tests |
| 1712 | # and examples. It is unclear where this format originated from. |
| 1713 | with pytest.warns(tz.DeprecatedTzFormatWarning): |
| 1714 | tzi = tz.tzstr.instance(tz_str) |
| 1715 | |
| 1716 | assert tzi == expected |
| 1717 | |
| 1718 | |
| 1719 | @pytest.mark.tzstr |