Skip to content

Commit 151276b

Browse files
committed
Run legacy Windows tests on Windows only
1 parent 7d08e0a commit 151276b

File tree

2 files changed

+241
-242
lines changed

2 files changed

+241
-242
lines changed

rich/_win32_console.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
"""Light wrapper around the win32 Console API - this module can only be imported on Windows"""
1+
"""Light wrapper around the win32 Console API - this module should only be imported on Windows"""
22
import ctypes
33
import sys
4-
from typing import IO, Any, NamedTuple, Type, cast
4+
from typing import IO, NamedTuple, Type, cast
55

6-
windll: Any = None
76
if sys.platform == "win32":
87
windll = ctypes.LibraryLoader(ctypes.WinDLL)
98
else:

0 commit comments

Comments
 (0)