[issue43029] unittest: Add assertUniqeIn
New submission from Denis Roussel : Allows to test uniqueness of members of a list -- components: Tests messages: 385700 nosy: rousseldenis priority: normal severity: normal status: open title: unittest: Add assertUniqeIn ___ Python tracker <https://bugs.python.org/issue43029> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue43029] unittest: Add assertUniqeIn
Change by Denis Roussel : -- keywords: +patch pull_requests: +23154 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24336 ___ Python tracker <https://bugs.python.org/issue43029> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue43029] unittest: Add assertUniqeIn
Denis Roussel added the comment: Indeed, can do assertNotEquals(len(the_list), len(set(the_list)) -- ___ Python tracker <https://bugs.python.org/issue43029> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue43029] unittest: Add assertUniqeIn
Denis Roussel added the comment: Of course. Wanted a shortcut. Can close it if you want. -- ___ Python tracker <https://bugs.python.org/issue43029> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com