Skip to content

TestReport.user_properties is documented as a list, actually a tuple #4034

@Zac-HD

Description

@Zac-HD

#: 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueeasy issue that is friendly to new contributortype: bugproblem that needs to be addressed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions