Skip to content

unittest.mock.ANY not usable in json lookups #304

@bunny-therapist

Description

@bunny-therapist

I expect this to be true for other mocks objects as well. The problems happens where JSON.hash calls jsonlib.dumps which requires the value to be json serializable.

TypeError: Object of type _ANY is not JSON serializable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions