|
#: user properties is a list of tuples (name, value) that holds user |
|
#: defined properties of the test |
|
self.user_properties = user_properties |
This makes me nervous when using it in plugins, e.g. to pass Hypothesis statistics around in HypothesisWorks/hypothesis#1577. My code handles either a list or a tuple here, but it would be nice to - one way or another - make the code and the documentation consistent.
pytest/src/_pytest/reports.py
Lines 137 to 139 in 2534193
This makes me nervous when using it in plugins, e.g. to pass Hypothesis statistics around in HypothesisWorks/hypothesis#1577. My code handles either a list or a tuple here, but it would be nice to - one way or another - make the code and the documentation consistent.