From 26ae39866ae3410a1fee86e80437c93e670bac37 Mon Sep 17 00:00:00 2001 From: Tobias Deiminger Date: Thu, 16 Dec 2021 21:11:00 +0100 Subject: [PATCH] Update changelog and AUTHORS --- AUTHORS | 1 + changelog/8914.bugfix.rst | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 changelog/8914.bugfix.rst diff --git a/AUTHORS b/AUTHORS index 9413f9c2e..2fa019278 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 000000000..397c1be17 --- /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.