From 33bb0df4f356584de915022b4a0d767537ba10c7 Mon Sep 17 00:00:00 2001 From: brokkoli71 Date: Tue, 11 Jun 2024 15:19:39 +0200 Subject: [PATCH] remove plt.show() in test --- pyproject.toml | 3 +++ tests/test_pylibczirw.py | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index df6ace1..fbfbb69 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,6 +4,9 @@ test-requires = ["pytest", "requests", "matplotlib"] test-command = [ "pytest {project}/tests" ] +# can not be tested, see discussion in https://github.com/pypa/cibuildwheel/pull/1169 for details +test-skip = "cp38-macosx_*:arm64" + [tool.cibuildwheel.linux] before-build = """ diff --git a/tests/test_pylibczirw.py b/tests/test_pylibczirw.py index bc8673e..0fabd16 100644 --- a/tests/test_pylibczirw.py +++ b/tests/test_pylibczirw.py @@ -56,4 +56,3 @@ def test_pylibczirw(): ax[1].set_title("Frame_1") ax[2].imshow(frame_2[...,0], cmap=cm.Greens_r) ax[2].set_title("Frame_2") - plt.show() \ No newline at end of file