Just disable the wizard test for macOS
This commit is contained in:
@@ -6,6 +6,7 @@ import nw
|
|||||||
import pytest
|
import pytest
|
||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
|
import sys
|
||||||
|
|
||||||
from shutil import copyfile
|
from shutil import copyfile
|
||||||
from nwtools import cmpFiles, getGuiItem
|
from nwtools import cmpFiles, getGuiItem
|
||||||
@@ -718,6 +719,10 @@ def testMergeSplitTools(qtbot, monkeypatch, yesToAll, nwTempGUI, nwLipsum, nwRef
|
|||||||
@pytest.mark.gui
|
@pytest.mark.gui
|
||||||
def testNewProjectWizard(qtbot, monkeypatch, yesToAll, nwMinimal, nwTemp):
|
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 PyQt5.QtWidgets import QWizard
|
||||||
from nw.gui.projwizard import (
|
from nw.gui.projwizard import (
|
||||||
ProjWizardIntroPage, ProjWizardFolderPage, ProjWizardPopulatePage,
|
ProjWizardIntroPage, ProjWizardFolderPage, ProjWizardPopulatePage,
|
||||||
|
|||||||
Reference in New Issue
Block a user