diff --git a/AUTHORS b/AUTHORS index 9413f9c2e74..2fa0192782e 100644 --- a/AUTHORS +++ b/AUTHORS @@ -322,6 +322,7 @@ Thomas Grainger Thomas Hisch Tim Hoffmann Tim Strazny +Tobias Deiminger Tom Dalton Tom Viner Tomáš Gavenčiak diff --git a/changelog/8914.bugfix.rst b/changelog/8914.bugfix.rst new file mode 100644 index 00000000000..397c1be176f --- /dev/null +++ b/changelog/8914.bugfix.rst @@ -0,0 +1,4 @@ +If fixtures had been indirectly parameterized via test function, e.g. using the +``@pytest.mark.parametrize(indirect=True)`` marker, reordering of tests for the least possible fixture setup/teardown +cycles did not work. Optimized test groups can now be determined either explicitly by passing parameter ids, or +implicitly if the parameter value is hashable.