Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip BayesQuasiTest on macOS #38069

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Testing/SystemTests/tests/framework/BayesQuasiTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
# Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
# SPDX - License - Identifier: GPL - 3.0 +
# pylint: disable=no-init,attribute-defined-outside-init

from sys import platform
from systemtesting import MantidSystemTest
from mantid.simpleapi import BayesQuasi, Load

Expand All @@ -13,6 +15,9 @@ class BayesQuasiTest(MantidSystemTest):
_sample_name = "irs26176_graphite002_red"
_resolution_name = "irs26173_graphite002_res"

def skipTests(self):
return platform == "darwin"

def runTest(self):
Load(Filename=f"{self._sample_name}.nxs", OutputWorkspace=self._sample_name, LoadHistory=False)
Load(Filename=f"{self._resolution_name}.nxs", OutputWorkspace=self._resolution_name, LoadHistory=False)
Expand Down
Loading