Skip to content

Draft: Wrap close test #12782

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

Closed
wants to merge 3 commits into from
Closed

Draft: Wrap close test #12782

wants to merge 3 commits into from

Conversation

tungol
Copy link
Contributor

@tungol tungol commented Oct 11, 2024

This is just to see what mypy-primer reveals about actual usage of popen return objects, for the purposes of informing #12774

@tungol tungol marked this pull request as draft October 11, 2024 19:28
Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

core (https://github.com/home-assistant/core)
+ homeassistant/scripts/macos/__init__.py:12: error: "_wrap_close[BufferedReader]" has no attribute "read"  [attr-defined]
+ homeassistant/scripts/macos/__init__.py:15: error: "_wrap_close[BufferedReader]" has no attribute "read"  [attr-defined]

@tungol tungol closed this Oct 11, 2024
@tungol tungol deleted the _wrap_close-test branch October 23, 2024 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant