This is the same internal value which pytest uses for parametrized instances in its output, so it should be fully consistent.
Without this, the diagnostic messages aren't very useful for parametrized tests: you can't identify which of the multiple test which execute the given line are failing.
Given a test like:
This modifies the diagnostic message from:
to:
This is the same internal value which
pytest
uses for parametrized instances in its output, so it should be fully consistent.Without this, the diagnostic messages aren't very useful for parametrized tests: you can't identify which of the multiple test which execute the given line are failing.
Fixes: #30