Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
honno opened this issue May 1, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@honno
Copy link
Member

honno commented May 1, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant