diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 716f074..53ae117 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -15,7 +15,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, macos-latest, windows-latest] + os: [windows-latest] python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: diff --git a/tests.py b/tests.py index 2a33174..ebbdbcf 100644 --- a/tests.py +++ b/tests.py @@ -104,7 +104,7 @@ def test_future_annotations(self): first_code_line = next( (line.rstrip('\n') for line in file.readlines() if is_code_line(line)), None ) - if filename in (r"hypickle/__init__.py", r"hypickle\__init__.py"): + if filename in (r"hypickle\__init__.py"): assert first_code_line is None else: assert first_code_line == "from __future__ import annotations"