Skip to content

Commit 2356a26

Browse files
committed
remove type ignore
1 parent d703303 commit 2356a26

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
@@ -208,9 +208,9 @@ def _start_process(self, path: str) -> None:
208208
try:
209209
start_info = None
210210
if sys.platform == "win32":
211-
start_info = subprocess.STARTUPINFO() # type: ignore[attr-defined]
212-
start_info.dwFlags = subprocess.CREATE_NEW_CONSOLE | subprocess.STARTF_USESHOWWINDOW # type: ignore[attr-defined]
213-
start_info.wShowWindow = subprocess.SW_HIDE # type: ignore[attr-defined]
211+
start_info = subprocess.STARTUPINFO()
212+
start_info.dwFlags = subprocess.CREATE_NEW_CONSOLE | subprocess.STARTF_USESHOWWINDOW
213+
start_info.wShowWindow = subprocess.SW_HIDE
214214

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

0 commit comments

Comments
 (0)