From 099e4d12c10db69d5d7500610f26a3fd67c34cbc 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 25b55e5aed2..283813f15a2 100644 --- a/AUTHORS +++ b/AUTHORS @@ -321,6 +321,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.