Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdebfcef

Browse files
authored
Merge pull request#26135 from QuLogic/tk-py39
TST: xfail Tk test on Python 3.9 Azure macOS also
2 parents67c4bb3 +c4e1d5d commitdebfcef

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎lib/matplotlib/tests/test_backend_tk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def _isolated_tk_test(success_count, func=None):
4040
)
4141
@pytest.mark.xfail(# https://github.com/actions/setup-python/issues/649
4242
'TF_BUILD'inos.environandsys.platform=='darwin'and
43-
sys.version_info[:2]== (3,10),
43+
sys.version_info[:2]< (3,11),
4444
reason='Tk version mismatch on Azure macOS CI'
4545
)
4646
@functools.wraps(func)

‎lib/matplotlib/tests/test_backends_interactive.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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'inos.environand
67-
sys.platform=='darwin'andsys.version_info[:2]== (3,10)):
67+
sys.platform=='darwin'andsys.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'inos.environand
277-
sys.platform=='darwin'andsys.version_info[:2]== (3,10)):
277+
sys.platform=='darwin'andsys.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'inos.environand
550-
sys.platform=='darwin'andsys.version_info[:2]== (3,10)):
550+
sys.platform=='darwin'andsys.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

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp