Skip to content

Commit 3f7d113

Browse files
committed
extend summary dict
1 parent ec4df13 commit 3f7d113

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

pytest_mpl/kernels.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ def update_summary(self, summary):
115115
None
116116
117117
"""
118+
# The "name" class property *must* be defined in derived child class.
118119
summary["kernel"] = self.name
119120

120121

pytest_mpl/plugin.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,9 @@ def item_function_wrapper(*args, **kwargs):
735735
'result_image': None,
736736
'baseline_hash': None,
737737
'result_hash': None,
738+
'kernel': None,
739+
'hamming_distance': None,
740+
'hamming_tolerance': None,
738741
}
739742

740743
# What we do now depends on whether we are generating the

0 commit comments

Comments
 (0)