Skip to content

Commit

Permalink
feat: meaningful name to pytest examples (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBernstorff authored Feb 11, 2024
2 parents 2d02c93 + 6576aa0 commit b1f0be2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions iterpy/test_benchmark_iter.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ def _extract_public_methods_with_default_args(
"pmap" # pmap requires pickling a lambda, which is not supported
],
),
ids=lambda example: example.method.__name__,
)
@pytest.mark.benchmark()
def test_benchmark_iter(
Expand Down

0 comments on commit b1f0be2

Please sign in to comment.