-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Labels
topic: parametrizerelated to @pytest.mark.parametrizerelated to @pytest.mark.parametrizetype: regressionindicates a problem that was introduced in a release which was working previouslyindicates a problem that was introduced in a release which was working previously
Description
Hello,
I noticed that since version >=9, test names were changed, maybe due to different parametrization loading.
My CI depends on "expectation" files, which are used as reference from commit to commit, to check that end result does no change. These may contain plot results, tensors/arrays et simply console output.
Is this something that could be considered a bug and thus to be fixed?
Otherwise, I'm facing the problem of renaming every file and forcing users to use pytest>=9, which seems a be premature to date.
Concretely, you can view here some expectation files and for example, from pytest<9 to pytest>=9, one test went from being named
test_knn_label_count_expectations[cpu-half-ip-1-1-self_query=True]
to being named
test_knn_label_count_expectations[half-cpu-ip-1-1-self_query=True]
Thanks in advance!
All the best :)
Metadata
Metadata
Assignees
Labels
topic: parametrizerelated to @pytest.mark.parametrizerelated to @pytest.mark.parametrizetype: regressionindicates a problem that was introduced in a release which was working previouslyindicates a problem that was introduced in a release which was working previously