diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 077a9c7a..484922ad 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -33,7 +33,7 @@ jobs: strategy: matrix: os: [Ubuntu, MacOS, Windows] - python-version: [3.8, 3.9, "3.10", "3.11", "3.12"] + python-version: [3.8, 3.9, "3.10", "3.11", "3.12", "3.13"] defaults: run: shell: bash diff --git a/src/pendulum/tz/local_timezone.py b/src/pendulum/tz/local_timezone.py index 4c57d3c2..a3006857 100644 --- a/src/pendulum/tz/local_timezone.py +++ b/src/pendulum/tz/local_timezone.py @@ -206,8 +206,8 @@ def _get_unix_timezone(_root: str = "/") -> Timezone: line = line[match.end() :] etctz = line[ : cast( - re.Match, - end_re.search(line), # type: ignore[type-arg] + re.Match, # type: ignore[type-arg] + end_re.search(line), ).start() ]