You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since we use slice indexing, I think assertUnique will fail on collections which are not integer-indexable. Sets have this property, but sets already enforce uniqueness so that's not a real problem. multisets may expose a problem here though?
The text was updated successfully, but these errors were encountered:
are we only concerned about this specific iteration of a multiset data structure? I read that collections.Counter could technically be counted as a multiset, so I guess I'd need to account for that as well (if you'd like to include it)
Description
Since we use slice indexing, I think
assertUnique
will fail on collections which are not integer-indexable. Sets have this property, but sets already enforce uniqueness so that's not a real problem. multisets may expose a problem here though?The text was updated successfully, but these errors were encountered: