From d31595a36ce3584c622f60f1a611b3a11eb4a911 Mon Sep 17 00:00:00 2001 From: Evangelos Voyiatzis Date: Fri, 27 Jan 2023 15:27:13 +0200 Subject: [PATCH] fixing unit tests in python-scatter-gather.py --- unittest/python/python-scatter-gather.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unittest/python/python-scatter-gather.py b/unittest/python/python-scatter-gather.py index b9d2ae2331..86d30ea3cb 100644 --- a/unittest/python/python-scatter-gather.py +++ b/unittest/python/python-scatter-gather.py @@ -220,7 +220,7 @@ class PythonGather(unittest.TestCase): for i in range(0,nimpropers): count += self.checkImproper(impropers[5*i:5*i+5], 1, 6, 3, 8, 7) count += self.checkImproper(impropers[5*i:5*i+5], 2, 8, 6, 10, 9) - self.assertEqual(count,10) + self.assertEqual(count,2) @unittest.skipIf(not has_full, "Gather_impropers test") def testGatherImproper_newton_off(self): @@ -235,7 +235,7 @@ class PythonGather(unittest.TestCase): for i in range(0,nimpropers): count += self.checkImproper(impropers[5*i:5*i+5], 1, 6, 3, 8, 7) count += self.checkImproper(impropers[5*i:5*i+5], 2, 8, 6, 10, 9) - self.assertEqual(count,10) + self.assertEqual(count,2) ############################## if __name__ == "__main__":