Skip to content

Commit 4cc02c1

Browse files
nicoddemusbluetech
andauthored
Update changelog/6962.bugfix.rst
Co-authored-by: Ran Benita <[email protected]>
1 parent d43420a commit 4cc02c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

changelog/6962.bugfix.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
Fixed bug where parametrized fixtures were not being cached correctly, being recreated every time.
1+
Parametrization parameters are now compared using `==` instead of `is` (`is` is still used as a fallback if the parameter does not support `==`).
2+
This fixes use of parameters such as lists, which have a different `id` but compare equal, causing fixtures to be re-computed instead of being cached.

0 commit comments

Comments
 (0)