From c4202768711310d12164465edea2597505563c1c Mon Sep 17 00:00:00 2001 From: "Christian Y. Brenninkmeijer" Date: Mon, 8 Apr 2024 12:43:16 +0100 Subject: [PATCH] fix test to consider scamp core --- unittests/version/test_version3.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unittests/version/test_version3.py b/unittests/version/test_version3.py index 22751fdb..3095fe46 100644 --- a/unittests/version/test_version3.py +++ b/unittests/version/test_version3.py @@ -143,9 +143,9 @@ def test_processor_info(self): def test_size_from_n_cores(self): version = Version3() self.assertEqual((2, 2), version.size_from_n_cores(10)) - self.assertEqual((2, 2), version.size_from_n_cores(18 * 4)) + self.assertEqual((2, 2), version.size_from_n_cores(17 * 4)) with self.assertRaises(SpinnMachineException): - self.assertEqual((2, 2), version.size_from_n_cores(18 * 4 + 1)) + self.assertEqual((2, 2), version.size_from_n_cores(17 * 4 + 1)) if __name__ == '__main__':