Does pytest have an assertItemsEqual / assertCountEqual equivalent : <p><code>unittest.TestCase</code> has an <a href="https://docs.python.org/3.6/library/unittest.html#unittest.TestCase.assertCountEqual" rel="noreferrer"><code>assertCountEqual</code> method</a> (<code>assertItemsEqual</code> in Python 2, which is arguably a better name), which compares two iterables and checks that they contain the same number of the same objects, without regard for their order.</p>

<p>Does pytest provide something similar? All of the obvious alternatives (e.g. calling <code>set(x)</code>, <code>sorted(x)</code> or <code>Counter(list(x))</code> on each side as mentioned in the documentation) don't work, because the things I'm comparing are lists of dictionaries, and dictionaries aren't hashable.</p>
