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

Commita9dc78f

Browse files
committed
TST: Skip PySide2 when running optimized
It doesn't seem to support it, and is not really updated by upstream.
1 parent77f76b4 commita9dc78f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎lib/matplotlib/tests/test_backends_interactive.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,8 @@ def qt5_and_qt6_pairs():
460460
reason="$DISPLAY and $WAYLAND_DISPLAY are unset")
461461
@pytest.mark.parametrize('host, mpl', [*qt5_and_qt6_pairs()])
462462
deftest_cross_Qt_imports(host,mpl):
463+
ifsys.flags.optimize>0and'PySide2'in {host,mpl}:
464+
pytest.xfail('PySide2 does not work optimized')
463465
try:
464466
proc=_run_helper(_impl_test_cross_Qt_imports,host,mpl,
465467
timeout=_test_timeout)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp