Skip to content
Snippets Groups Projects
Commit a4f6fb56 authored by Gigg, Martyn Anthony's avatar Gigg, Martyn Anthony
Browse files

Port OS X 10.8 fix for EnginX test

Refs #11176
parent c2bd363f
No related branches found
No related tags found
No related merge requests found
...@@ -19,10 +19,7 @@ class EnginXCalibrateTest(stresstesting.MantidStressTest): ...@@ -19,10 +19,7 @@ class EnginXCalibrateTest(stresstesting.MantidStressTest):
if sys.platform == "darwin": if sys.platform == "darwin":
# Mac fitting tests produce differences for some reason. # Mac fitting tests produce differences for some reason.
self.assertDelta(self.difc, 18405.4, 0.1) self.assertDelta(self.difc, 18405.4, 0.1)
if int(platform.release().split('.')[0]) < 13: self.assertDelta(self.zero, 3.53, 0.05)
self.assertDelta(self.zero, 3.53, 0.01)
else:
self.assertDelta(self.zero, 3.51, 0.01)
else: else:
self.assertDelta(self.difc, 18404.522, 0.001) self.assertDelta(self.difc, 18404.522, 0.001)
self.assertDelta(self.zero, 4.426, 0.001) self.assertDelta(self.zero, 4.426, 0.001)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment