Skip to content

Test names were changed #13957

@ego-thales

Description

@ego-thales

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

No one assigned

    Labels

    topic: parametrizerelated to @pytest.mark.parametrizetype: regressionindicates a problem that was introduced in a release which was working previously

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions