def METHOD_NAME(tgen):
    "Test that RIP drop the gone neighbor routes."
    tgen.gears["r3"].link_enable("r3-eth0", False)
    expect_routes(
        tgen.gears["r1"], {
            "10.254.254.2/32": [{
                "code": "R",
                "subCode": "n",
                "from": "192.168.0.2"
            }],
            "10.254.254.3/32": None,
            "10.254.254.100/32": [{
                "code": "R",
                "subCode": "n",
                "from": "192.168.0.2",
            }]
        }, 6)
    expect_routes(
        tgen.gears["r3"], {
            "10.254.254.1/32": None,
            "10.254.254.2/32": None,
            "10.254.254.100/32": [{
                "code": "S",
                "subCode": "r",
                "from": "self"
            }]
        }, 6)