Skip to content

Commit

Permalink
tests: qt: skip test_Qt_QtWebEngineQuick_PyQt6 with PyQt6 6.6.3 on Wi…
Browse files Browse the repository at this point in the history
…ndows

On Windows, PyQt6-Qt6 6.6.3 PyPI wheel seems to be missing
`Qt6WebChannelQuick` DLL, which is required by `PyQt6.QtWebEngineQuick`
module. Skip the test if running with affected version.
  • Loading branch information
rokm committed Apr 16, 2024
1 parent bdac5ec commit fc8a0c9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/functional/test_qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -544,9 +544,13 @@ def test_Qt_QtWebEngineWidgets_PyQt6(pyi_builder):
@requires('PyQt6 >= 6.2.2')
@requires('PyQt6-WebEngine') # NOTE: base Qt6 must be 6.2.2 or newer, QtWebEngine can be older
@pytest.mark.skipif(
check_requirement('PyQt6 == 6.6.0'),
check_requirement('PyQt6-Qt6 == 6.6.0'),
reason='PyQt6 6.6.0 PyPI wheels are missing Qt6WebChannelQuick shared library.'
)
@pytest.mark.skipif(
check_requirement('PyQt6-Qt6 == 6.6.3') and is_win,
reason='PyQt6 6.6.3 PyPI wheels for Windows are missing Qt6WebChannelQuick shared library.'
)
def test_Qt_QtWebEngineQuick_PyQt6(pyi_builder):
_test_Qt_QtWebEngineQuick(pyi_builder, 'PyQt6')

Expand Down

0 comments on commit fc8a0c9

Please sign in to comment.