()
| 791 | |
| 792 | @pytest.mark.tzoffset |
| 793 | def test_tzoffset_sub_minute(): |
| 794 | delta = timedelta(hours=12, seconds=30) |
| 795 | test_datetime = datetime(2000, 1, 1, tzinfo=tz.tzoffset(None, delta)) |
| 796 | assert test_datetime.utcoffset() == delta |
| 797 | |
| 798 | |
| 799 | @pytest.mark.tzlocal |