Skip to content

varargs handling doesn't work with methods #118

@jerith

Description

@jerith

As mentioned on #113, the new varargs handling doesn't work with methods.

This is because all keyword arguments to given are converted into positional arguments in the wrapped tests and these catch any non-generated positional arguments (such a self for a method) instead of leaving them in varargs.

The fix is probably to handle extra_kwargs (keyword arguments to given that don't match named args in the argspec) differently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions