sknano.testing.AtomsTestFixture.assertSetEqual¶
-
AtomsTestFixture.
assertSetEqual
(set1, set2, msg=None)[source]¶ A set-specific equality assertion.
- Args:
set1: The first set to compare. set2: The second set to compare. msg: Optional message to use on failure instead of a list of
differences.
assertSetEqual uses ducktyping to support different types of sets, and is optimized for sets specifically (parameters must support a difference method).