Skip to content

Commit cbbcc37

Browse files
committed
[py]: use pop instead of get for popen kwargs in services
1 parent a916504 commit cbbcc37

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
@@ -68,7 +68,7 @@ def __init__(
6868
self.creation_flags = kwargs.pop("creation_flags", 0)
6969
self.close_fds = kwargs.pop("close_fds") or system() != "Windows"
7070
self.env = env or os.environ
71-
self.popen_kw = kwargs.get("popen_kw", {})
71+
self.popen_kw = kwargs.pop("popen_kw", {})
7272

7373
@property
7474
def service_url(self) -> str:

0 commit comments

Comments
 (0)