Skip to content
Snippets Groups Projects
Unverified Commit 2e755a6d authored by Pete Peterson's avatar Pete Peterson Committed by GitHub
Browse files

Merge pull request #21713 from rosswhitfield/np1.14_SANSConvertToWavelengthTest

Fixes failing unit test for numpy >=1.14
parents af0b60f1 c9da9ba1
No related branches found
No related tags found
No related merge requests found
......@@ -117,7 +117,7 @@ class SANSSConvertToWavelengthImplementationTest(unittest.TestCase):
data_x0 = output_workspace.dataX(0)
self.assertTrue(data_x0[0] == 1.0)
expected_upper_bound = 5.27471197274
self.assertTrue(data_x0[-1] == expected_upper_bound)
self.assertEqual(round(data_x0[-1],11), expected_upper_bound)
# Check the units part
axis0 = output_workspace.getAxis(0)
......
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