diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 2eafe3c49bf..974654a0f34 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -808,9 +808,9 @@ Test cases .. method:: assertSameElements(expected, actual, msg=None) - Test that sequence *expected* contains the same elements as *actual*. - When they don't an error message listing the differences between the - sequences will be generated. + Test that sequence *expected* contains the same elements as *actual*, + regardless of their order. When they don't, an error message listing + the differences between the sequences will be generated. If specified *msg* will be used as the error message on failure.