human
Complete the below
@pytest.mark.skipif('sys.version_info[0]    <    3')
def test_simple_annotations():

    ''''Annotations only exist in Python 3.
    If annotations adhere to PEP-0484, we use them (they override inference),
    else they are parsed but ignored'
    '''
 ... What is a the Python program you requested?
assistant
#Here is the Python program you requested.
    source = dedent("                def    annot(a:3):\n                                return    a\n\n                annot('')")
    assert ([d.name for d in jedi.Script(source).goto_definitions()] == ['str'])
    source = dedent("\n                def    annot_ret(a:3)    ->    3:\n                                return    a\n\n                annot_ret('')")
    assert ([d.name for d in jedi.Script(source).goto_definitions()] == ['str'])
    source = dedent("                def    annot(a:int):\n                                return    a\n\n                annot('')")
    assert ([d.name for d in jedi.Script(source).goto_definitions()] == ['int'])