Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f6bb9ee

Browse files
committed
TST: skip on broken GHA environments
1 parent 9d0420b commit f6bb9ee

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/matplotlib/tests/test_pickle.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
from io import BytesIO
22
import ast
3+
import os
4+
import sys
35
import pickle
46
import pickletools
57

@@ -316,6 +318,11 @@ def _test_axeswidget_interactive():
316318
pickle.dumps(mpl.widgets.Button(ax, "button"))
317319

318320

321+
@pytest.mark.xfail( # https://github.com/actions/setup-python/issues/649
322+
('TF_BUILD' in os.environ or 'GITHUB_ACTION' in os.environ) and
323+
sys.platform == 'darwin' and sys.version_info[:2] < (3, 11),
324+
reason='Tk version mismatch on Azure macOS CI'
325+
)
319326
def test_axeswidget_interactive():
320327
subprocess_run_helper(
321328
_test_axeswidget_interactive,

0 commit comments

Comments
 (0)