Skip to content

Commit 85e005a

Browse files
committed
Update browser crash test for macOS
1 parent 5939d6f commit 85e005a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/tests_asyncio/test_browser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def inject_fixtures(self, caplog):
147147
@staticmethod
148148
def kill_chrome():
149149
for proc in psutil.process_iter(["pid", "name"]):
150-
if proc.info["name"] == "chrome":
150+
if proc.info["name"].lower() in ("chrome", "chromium"):
151151
os.kill(proc.info["pid"], signal.SIGKILL)
152152

153153
@allow_windows

0 commit comments

Comments
 (0)