Skip to content

fixup raises() assertion to support any callable, not just functions #70

@saturnboy

Description

@saturnboy

Replace:

if not inspect.isfunction(self.val):

With:

if not callable(self.val):

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions