import pytest @pytest.mark.parametrized("input", "expected", [ (1, 1), ('a', 'a'), ("One", "One") ]) def test_check_input_and_expected(input, expected): assert ( input == expected )