Parametrization-generated IDs should be based on index into values
@pytest.fixture(params=['a', 'a']) def foo(request): return request.param
def test_foo(foo): pass
I will get an exception KeyError: 'foo'. I understand that the same value maybe doesn't sound like good idea, but i'm writing a plugin for pytest and testing the side effect of the multiple run.