Skip to content

Commit

Permalink
fail2
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Apr 16, 2024
1 parent df8b0c5 commit 58541b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,6 @@ jobs:
- python-version: "3.11"
PYTHONOPTIMIZE: 1
REVERSE: "--reverse"
- python-version: "3.10"
PYTHONOPTIMIZE: 2
# M1 only available for 3.10+
- os: "macos-latest"
python-version: "3.9"
- os: "macos-latest"
python-version: "3.8"
exclude:
- os: "macos-14"
python-version: "3.9"
- os: "macos-14"
python-version: "3.8"

runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} Python ${{ matrix.python-version }}
Expand Down
12 changes: 6 additions & 6 deletions Tests/test_imagecms.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,14 +514,14 @@ def test_profile_typesafety() -> None:
with pytest.raises(TypeError):
ImageCms.core.profile_tobytes(1)

# core profile should not be directly instantiable
with pytest.raises(TypeError):
ImageCms.core.CmsProfile()
with pytest.raises(TypeError):
ImageCms.core.CmsProfile(0)
if not is_pypy():
# core profile should not be directly instantiable
with pytest.raises(TypeError):
ImageCms.core.CmsProfile()
with pytest.raises(TypeError):
ImageCms.core.CmsProfile(0)


@pytest.mark.skipif(is_pypy(), reason="fails on PyPy")
def test_transform_typesafety() -> None:
# core transform should not be directly instantiable
with pytest.raises(TypeError):
Expand Down

0 comments on commit 58541b9

Please sign in to comment.