@unittest.skipIf((not tools.PY2), 'str in Py3 behave like objects and id as key fails')
def test_str_id(self):
    'Test str using id as key.'
    deduped = set()
    deduper = tools.filter_unique(self.strs, container=deduped, key=id)
    self._test_dedup_str(deduped, deduper, id)
Test str using id as key.
@unittest.skipIf((not tools.PY2), 'str in Py3 behave like objects and id as key fails')
def test_str_id(self):
    
    deduped = set()
    deduper = tools.filter_unique(self.strs, container=deduped, key=id)
    self._test_dedup_str(deduped, deduper, id)