Skip to content

Commit

Permalink
fix test to consider scamp core
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Apr 8, 2024
1 parent 24ac4b0 commit c420276
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unittests/version/test_version3.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__':
Expand Down

0 comments on commit c420276

Please sign in to comment.