-
Notifications
You must be signed in to change notification settings - Fork 768
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
"Never" is not iterable #6415
Labels
Comments
Pylance is behaving properly here. |
debonte
added
by design
and removed
needs repro
Issue has not been reproduced yet
labels
Sep 20, 2024
Makes sense, thank you! I should declare it with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm writing a fixture for pytest that returns an object with an optional kwarg. It's reporting a problem even though I've checked if the variable isn't
None
and made sure it's alist
.Environment data
Code Snippet
Repro Steps
Expected behavior
No problems
Actual behavior
The text was updated successfully, but these errors were encountered: