Improve @parametrize
: accept a dict for argvalues so that the id can be passed as the key
#261
Labels
@parametrize
: accept a dict for argvalues so that the id can be passed as the key
#261
@pytest.mark.parametrize("a", [0, 2], ids=["Null", "Positive"])
could become
@parametrize("a", dict(Null=0, Positive=2)
The text was updated successfully, but these errors were encountered: