Serhiy Storchaka <[email protected]> added the comment:
For tests it can be more convenient to use
list(d1.items()) == list(d2.items())
because it can produce better report on failure.
You can add a simple helper function if you use it multiple times in tests.
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue45093>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com