From 7994491c5dcea1af004d437d0824c5bcc2435925 Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Wed, 17 Jun 2020 20:45:34 +0200 Subject: [PATCH] Force tests to run with qt<5.15 --- .travis.yml | 5 ++--- tests/test_gui.py | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 873ded23..7bcec702 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,15 +8,14 @@ addons: apt: packages: - libenchant-dev - - python3-pyqt5 - - python3-pyqt5.qtsvg python: - "3.6" - "3.7" - "3.8" install: - pip install --upgrade pip - - pip install -r requirements.txt + - pip install lxml + - pip install pyqt5<5.15 # - pip install pytest-faulthandler - pip install PyVirtualDisplay - pip install pytest-xvfb diff --git a/tests/test_gui.py b/tests/test_gui.py index b83b67fd..cd375cd8 100644 --- a/tests/test_gui.py +++ b/tests/test_gui.py @@ -216,7 +216,6 @@ def testMainWindows(qtbot, nwTempGUI, nwRef, nwTemp): qtbot.wait(stepDelay) nwGUI.docEditor.wCounter.run() - nwGUI.docEditor._updateCounts() qtbot.wait(stepDelay) # Save the document