mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 14:01:55 +08:00
Fix errors discovered by running typeshed check on Windows (#3456)
Fix errors discovered by running typeshed check on Windows. This is a temporary fix for #3446 (in long term we should figure out why these were not caught by typeshed CI). I also remove an outdated comment while I am at it.
This commit is contained in:
@@ -109,11 +109,9 @@ if sys.version_info >= (3, 7):
|
||||
run as run,
|
||||
)
|
||||
|
||||
|
||||
# TODO: It should be possible to instantiate these classes, but mypy
|
||||
# currently disallows this.
|
||||
# See https://github.com/python/mypy/issues/1843
|
||||
SelectorEventLoop: Type[AbstractEventLoop]
|
||||
if sys.platform != 'win32':
|
||||
# This is already imported above on Windows.
|
||||
SelectorEventLoop: Type[AbstractEventLoop]
|
||||
|
||||
# TODO: AbstractChildWatcher (UNIX only)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user