def METHOD_NAME(self):
    src = """
    y_pos = 5
    y_pos += 10
    y_pos = 10
    """
    mod = astroid.parse(src)
    mod.accept(CFGVisitor())
    augassign_node, *_ = mod.nodes_of_class(nodes.AugAssign)
    self.checker.visit_module(mod)
    with self.assertAddsMessages(
        pylint.testutils.MessageTest(msg_id="redundant-assignment", node=augassign_node),
        ignore_position=True,
    ):
        self.checker.visit_augassign(augassign_node)