From 1bf5c2de91380b94755a5bc1de0fd2dcdb89cf53 Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Thu, 1 Oct 2020 23:17:43 +0200 Subject: [PATCH] Just disable the wizard test for macOS --- tests/test_dialogs.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/test_dialogs.py b/tests/test_dialogs.py index 2c2a7efc..826db2db 100644 --- a/tests/test_dialogs.py +++ b/tests/test_dialogs.py @@ -6,6 +6,7 @@ import nw import pytest import json import os +import sys from shutil import copyfile from nwtools import cmpFiles, getGuiItem @@ -718,6 +719,10 @@ def testMergeSplitTools(qtbot, monkeypatch, yesToAll, nwTempGUI, nwLipsum, nwRef @pytest.mark.gui def testNewProjectWizard(qtbot, monkeypatch, yesToAll, nwMinimal, nwTemp): + if sys.platform.startswith("darwin"): + # Disable for macOS because the test segfaults on QWizard.show() + return + from PyQt5.QtWidgets import QWizard from nw.gui.projwizard import ( ProjWizardIntroPage, ProjWizardFolderPage, ProjWizardPopulatePage,