We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c9d0c6 commit 8d4086aCopy full SHA for 8d4086a
CHANGES.md
@@ -1,6 +1,8 @@
1
0.7 (unreleased)
2
----------------
3
4
+- Fix broken ``single_reference=True`` usage. [#43]
5
+
6
0.6 (2023-11-15)
7
8
pytest_arraydiff/plugin.py
@@ -310,7 +310,7 @@ def pytest_runtest_call(self, item):
310
# Find test name to use as plot name
311
filename = compare.kwargs.get('filename', None)
312
if filename is None:
313
- filename = item.name + '.' + extension
+ filename = item.function + '.' + extension
314
if not single_reference:
315
filename = filename.replace('[', '_').replace(']', '_')
316
filename = filename.replace('_.' + extension, '.' + extension)
0 commit comments