Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.x: Fix GHA. #260

Merged
merged 2 commits into from
Sep 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
uses: MatteoH2O1999/setup-python@v1
with:
python-version: ${{ matrix.config[0] }}
- name: Pip cache
Expand Down
8 changes: 4 additions & 4 deletions tests/test_Guards.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def test_Guards__safer_getattr__1d():


@pytest.mark.skipif(IS_PY3, reason="Python 3 lacks unicode")
def test_Guards__safer_getattr__2a():
def test_Guards__safer_getattr__2a(): # pragma: PY2
"""It prevents using the format method of a unicode.

format() is considered harmful:
Expand All @@ -265,7 +265,7 @@ def test_Guards__safer_getattr__2a():


@pytest.mark.skipif(IS_PY3, reason="Python 3 lacks unicode")
def test_Guards__safer_getattr__2b():
def test_Guards__safer_getattr__2b(): # pragma: PY2
"""It prevents using the format method of a unicode.

format() is considered harmful:
Expand All @@ -286,7 +286,7 @@ def test_Guards__safer_getattr__2b():


@pytest.mark.skipif(IS_PY3, reason="Python 3 lacks unicode")
def test_Guards__safer_getattr__2c():
def test_Guards__safer_getattr__2c(): # pragma: PY2
"""It prevents using the format method of a unicode.

format() is considered harmful:
Expand All @@ -306,7 +306,7 @@ def test_Guards__safer_getattr__2c():


@pytest.mark.skipif(IS_PY3, reason="Python 3 lacks unicode")
def test_Guards__safer_getattr__2d():
def test_Guards__safer_getattr__2d(): # pragma: PY2
"""It prevents using the format method of a unicode.

format() is considered harmful:
Expand Down
Loading