Skip to content

Allow different arg names for positional-only arguments in signature tests #256

Description

@honno

Currently the suite fails when signatures use different arg names then whats in the spec for pos-only args, even though it shouldn't really matter.

For example, testing a function with the following signature

def f(x, y, /):
    ...

should pass an implementation of f(a, b, /).

Thanks @Micky774 for catching this!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmedium priorityMedium priority issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions