Message7234

Author int3
Recipients int3
Date 2012-06-16.11:20:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1339845654.06.0.289067524467.issue1926@psf.upfronthosting.co.za>
In-reply-to
Content
The test was originally created for issue 4920 in CPython, where MutableSet.pop was erroneously throwing an exception. The test introduced ended up checking the return value of pop() as well, probably to be on the safe side. However, since the underlying set() that implements MutableSet returns elements in an arbitrary order[1], checking for a specific return value means the test is implementation-dependent. I've changed it to check that the returned value is any one of the values that were initially put into the set.

[1]: http://docs.python.org/library/stdtypes.html#set.pop
History
Date User Action Args
2012-06-16 11:20:54int3setrecipients: + int3
2012-06-16 11:20:54int3setmessageid: <1339845654.06.0.289067524467.issue1926@psf.upfronthosting.co.za>
2012-06-16 11:20:53int3linkissue1926 messages
2012-06-16 11:20:53int3create