def METHOD_NAME(self):
    """Test checker with a set comp"""
    src = '''
    def common_items(lst1: list, lst2: list) -> int:
        """Return the number of unique common items in <lst1> and <lst2>."""
        s = 0
        set1 = {s for s in lst1}
        for item in set1:
            if item in lst2:
                s += 1
        return s
    '''
    mod = astroid.parse(src)
    comp_node, *_ = mod.nodes_of_class(nodes.Comprehension)
    with self.assertAddsMessages(
        pylint.testutils.MessageTest(
            msg_id="shadowing-in-comprehension",
            node=comp_node.target,
            args=comp_node.target.name,
        ),
        ignore_position=True,
    ):
        self.checker.visit_comprehension(comp_node)