bayespy.utils.misc.TestCase.assertListEqual

TestCase.assertListEqual(list1, list2, msg=None)[source]

A list-specific equality assertion.

Parameters:
  • list1 – The first list to compare.

  • list2 – The second list to compare.

  • msg – Optional message to use on failure instead of a list of differences.