Skip to content

Commit 335df76

Browse files
authored
[py]: Fix syntax for stream.close() in service.py
1 parent 1d5210a commit 335df76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/selenium/webdriver/common/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def _terminate_process(self) -> None:
165165
stdin, stdout, stderr = self.process.stdin, self.process.stdout, self.process.stderr
166166
for stream in stdin, stdout, stderr:
167167
try:
168-
stream.close(). # type: ignore
168+
stream.close() # type: ignore
169169
except AttributeError:
170170
pass
171171
self.process.terminate()

0 commit comments

Comments
 (0)