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 medium priority Medium priority issue

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!

@honno honno added the bug Something isn't working label May 1, 2024
@asmeurer asmeurer mentioned this issue Nov 14, 2024
34 tasks
@asmeurer asmeurer added the medium priority Medium priority issue label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working medium priority Medium priority issue
Projects
None yet
Development

No branches or pull requests

2 participants