-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Run stubtest on windows for colorama #9168
Conversation
This comment has been minimized.
This comment has been minimized.
@@ -25,6 +25,8 @@ if sys.platform == "win32": | |||
def FillConsoleOutputCharacter(stream_id: int, char: str, length: int, start: COORD) -> int: ... | |||
def FillConsoleOutputAttribute(stream_id: int, attr: int, length: int, start: COORD) -> wintypes.BOOL: ... | |||
def SetConsoleTitle(title: str) -> wintypes.BOOL: ... | |||
def GetConsoleMode(handle: int) -> int: ... | |||
def SetConsoleMode(handle: int, mode: int) -> None: ... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you temporarily delete these methods and then add them back? I would like to make sure that the CI fails when these are missing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There you go, fails on windows now :)
…into colorama-windows
This reverts commit 1cf0f57.
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
One of the stubs that benefit from #8923
In fact, stubtest found 2 missing methods on windows!