Try to put everything in one line:@pytest.mark.parametrize("entrada","esperado",[(0,1),(1,1),(2,2),(3,6),(4,24),(5,120)])or else add one \at the end of each line to tell pro python that the command continues on the next line.@pytest.mark.parametrize("entrada","esperado",[\
(0,1),\
(1,1),\
(2,2),\
(3,6),\
(4,24),\
(5,120)\
]