1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-01 18:18:31 +00:00

Remove special cases for python < 3.6

This commit is contained in:
Unrud 2022-02-01 17:53:47 +01:00
parent 0221fc357b
commit 580b97fa0f
2 changed files with 1 additions and 12 deletions

View file

@ -22,11 +22,9 @@ Radicale tests with simple requests.
import os
import posixpath
import sys
from typing import Any, Callable, ClassVar, Iterable, List, Optional, Tuple
import defusedxml.ElementTree as DefusedET
import pytest
from radicale import storage, xmlutils
from radicale.tests import RESPONSES, BaseTest
@ -1654,8 +1652,6 @@ permissions: RrWw""")
_, headers, _ = self.request("GET", "/.well-known/foo", check=404)
assert headers.get("test") == "123"
@pytest.mark.skipif(sys.version_info < (3, 6),
reason="Unsupported in Python < 3.6")
def test_timezone_seconds(self) -> None:
"""Verify that timezones with minutes and seconds work."""
self.mkcalendar("/calendar.ics/")