@@ -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 (
@@ -272,7 +272,7 @@ def _test_thread_impl():
272272 'https://foss.heptapod.net/pypy/pypy/-/issues/1929' ,
273273 strict = True ))
274274 elif (backend == 'tkagg' and 'TF_BUILD' in os .environ and
275- sys .platform == 'darwin' and sys .version_info [:2 ] == (3 , 10 )):
275+ sys .platform == 'darwin' and sys .version_info [:2 ] < (3 , 11 )):
276276 param .marks .append ( # https://github.com/actions/setup-python/issues/649
277277 pytest .mark .xfail ('Tk version mismatch on Azure macOS CI' ))
278278
@@ -553,7 +553,7 @@ def _test_number_of_draws_script():
553553 param .marks .append (
554554 pytest .mark .skip ("wx does not support blitting" ))
555555 elif (backend == 'tkagg' and 'TF_BUILD' in os .environ and
556- sys .platform == 'darwin' and sys .version_info [:2 ] == (3 , 10 )):
556+ sys .platform == 'darwin' and sys .version_info [:2 ] < (3 , 11 )):
557557 param .marks .append ( # https://github.com/actions/setup-python/issues/649
558558 pytest .mark .xfail ('Tk version mismatch on Azure macOS CI' )
559559 )
0 commit comments