Skip to content

Commit 3d3f6b7

Browse files
committed
test_main - skip texture2d & sprite on Darwin
1 parent 5686079 commit 3d3f6b7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/test_main.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import io
22
import os
3+
import platform
34

45
from PIL import Image
56

@@ -60,6 +61,11 @@ def test_sprite():
6061
obj.read().image.save(io.BytesIO(), format="PNG")
6162

6263

64+
if platform.system() == "Darwin":
65+
# crunch issue on macos leading to segfault
66+
del test_texture2d
67+
del test_sprite
68+
6369
# def test_audioclip():
6470
# # as not platforms are supported by FMOD
6571
# # we have to check if the platform is supported first

0 commit comments

Comments
 (0)