Skip to content

Commit

Permalink
tests: enable QtWebEngine tests in onefile mode on macOS
Browse files Browse the repository at this point in the history
These should work now.
  • Loading branch information
rokm committed May 18, 2023
1 parent d8359e3 commit 9b47930
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tests/functional/test_qt.py
Expand Up @@ -284,12 +284,6 @@ def test_PyQt5_Qt(pyi_builder):

# Run the the QtWebEngineWidgets test for chosen Qt-based package flavor.
def _test_Qt_QtWebEngineWidgets(pyi_builder, qt_flavor):
if is_darwin:
# QtWebEngine on Mac OS only works with a onedir build -- onefile builds do not work.
# Skip the test execution for onefile builds.
if pyi_builder._mode != 'onedir':
pytest.skip('QtWebEngine on macOS is supported only in onedir mode.')

source = """
import sys
Expand Down Expand Up @@ -364,12 +358,6 @@ def verify_and_quit(self):

# Run the the QtWebEngineQuick test for chosen Qt-based package flavor.
def _test_Qt_QtWebEngineQuick(pyi_builder, qt_flavor):
if is_darwin:
# QtWebEngine on Mac OS only works with a onedir build -- onefile builds do not work.
# Skip the test execution for onefile builds.
if pyi_builder._mode != 'onedir':
pytest.skip('QtWebEngine on macOS is supported only in onedir mode.')

source = """
import sys
Expand Down

0 comments on commit 9b47930

Please sign in to comment.