Mark Roddy <markro...@gmail.com> added the comment:

Adding patch for py3k which implements Raymond's suggested fix which utilizes 
collections.Counter.  

Have not changed the name of the assertion method as this seems as though it 
may be outside the scope of this issue, but I can produce another patch with 
the name change if desired.  Though how the old name should be deprecated needs 
to be addressed.

Note that it may make sense to reconsider the current failure message from this 
test to take into account the fact that the test could be failing due to the 
number of entries for a single value differing between the two sequences.  In 
this case the "Expected, bug missing..." or "Unexpected but present..." 
messages are still utilized but could be miss leading.

Also, holding off on porting to unittest2 until the above issues have been 
addressed (or at least confirmed to be non-issues).

----------
keywords: +patch
nosy: +MarkRoddy
Added file: http://bugs.python.org/file19720/py3k.10242.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10242>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to