From cc72ee9382a50e885ce2be151444a694b7147767 Mon Sep 17 00:00:00 2001 From: Pete Peterson Date: Wed, 1 Feb 2023 09:17:07 -0500 Subject: [PATCH] Use all values in comparison --- Framework/PythonInterface/test/python/mantid/api/RunTest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Framework/PythonInterface/test/python/mantid/api/RunTest.py b/Framework/PythonInterface/test/python/mantid/api/RunTest.py index cc92d90fe22e5..bcd1b6282e269 100644 --- a/Framework/PythonInterface/test/python/mantid/api/RunTest.py +++ b/Framework/PythonInterface/test/python/mantid/api/RunTest.py @@ -130,7 +130,7 @@ def test_timestd(self): temp1.addValue(start_time + i * nanosec, vals[i]) run.addProperty(temp1.name, temp1, True) # ignore the last value - expected = vals[:-1].std() + expected = vals.std() self.assertEqual(run.getTimeAveragedStd("TEMP1"), expected) def do_test_copyable(self, copy_op):