@@ -64,7 +64,7 @@ def _get_testable_interactive_backends():
6464 # ignore on OSX because that's currently broken (github #16849)
6565 marks .append (pytest .mark .xfail (reason = 'github #16849' ))
6666 elif (env ['MPLBACKEND' ] == 'tkagg' and 'TF_BUILD' in os .environ and
67- sys .platform == 'darwin' and sys .version_info [:2 ] == (3 , 10 )):
67+ sys .platform == 'darwin' and sys .version_info [:2 ] < (3 , 11 )):
6868 marks .append ( # https://github.com/actions/setup-python/issues/649
6969 pytest .mark .xfail (reason = 'Tk version mismatch on Azure macOS CI' ))
7070 envs .append (
@@ -274,7 +274,7 @@ def _test_thread_impl():
274274 'https://foss.heptapod.net/pypy/pypy/-/issues/1929' ,
275275 strict = True ))
276276 elif (backend == 'tkagg' and 'TF_BUILD' in os .environ and
277- sys .platform == 'darwin' and sys .version_info [:2 ] == (3 , 10 )):
277+ sys .platform == 'darwin' and sys .version_info [:2 ] < (3 , 11 )):
278278 param .marks .append ( # https://github.com/actions/setup-python/issues/649
279279 pytest .mark .xfail ('Tk version mismatch on Azure macOS CI' ))
280280
@@ -547,7 +547,7 @@ def _test_number_of_draws_script():
547547 param .marks .append (
548548 pytest .mark .skip ("wx does not support blitting" ))
549549 elif (backend == 'tkagg' and 'TF_BUILD' in os .environ and
550- sys .platform == 'darwin' and sys .version_info [:2 ] == (3 , 10 )):
550+ sys .platform == 'darwin' and sys .version_info [:2 ] < (3 , 11 )):
551551 param .marks .append ( # https://github.com/actions/setup-python/issues/649
552552 pytest .mark .xfail ('Tk version mismatch on Azure macOS CI' )
553553 )
0 commit comments