Test all operating systems

This commit is contained in:
Andrew Murray 2020-04-04 15:02:15 +11:00
parent 4500acb274
commit 5ef382f612

View File

@ -1,5 +1,4 @@
import io
import sys
import pytest
from PIL import IcnsImagePlugin, Image
@ -25,7 +24,6 @@ def test_sanity():
assert im.format == "ICNS"
@pytest.mark.skipif(sys.platform != "darwin", reason="Requires macOS")
def test_save(tmp_path):
temp_file = str(tmp_path / "temp.icns")
@ -38,7 +36,6 @@ def test_save(tmp_path):
assert reread.format == "ICNS"
@pytest.mark.skipif(sys.platform != "darwin", reason="Requires macOS")
def test_save_append_images(tmp_path):
temp_file = str(tmp_path / "temp.icns")
provided_im = Image.new("RGBA", (32, 32), (255, 0, 0, 128))