Skip to content

Commit 83233b3

Browse files
committed
Reverted the type-ignore comment removal
1 parent 139bf3b commit 83233b3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

py/selenium/webdriver/common/service.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,9 @@ def _start_process(self, path: str) -> None:
209209
try:
210210
start_info = None
211211
if system() == "Windows":
212-
start_info = subprocess.STARTUPINFO()
213-
start_info.dwFlags = subprocess.CREATE_NEW_CONSOLE | subprocess.STARTF_USESHOWWINDOW
214-
start_info.wShowWindow = subprocess.SW_HIDE
212+
start_info = subprocess.STARTUPINFO() # type: ignore[attr-defined]
213+
start_info.dwFlags = subprocess.CREATE_NEW_CONSOLE | subprocess.STARTF_USESHOWWINDOW # type: ignore[attr-defined]
214+
start_info.wShowWindow = subprocess.SW_HIDE # type: ignore[attr-defined]
215215

216216
self.process = subprocess.Popen(
217217
cmd,

0 commit comments

Comments
 (0)