Skip to content

Commit

Permalink
Fix MYPY on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinyzu committed Aug 16, 2024
1 parent d6619c2 commit 967d669
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
from .server import Server, test_server
from .utils import find_chrome_executable, random_port

# MYPY Shenanigans
if os.name != "posix":
os.killpg = lambda pid: pid
os.getpgid = lambda pid: pid
signal.SIGKILL = 9

flags: List[str] = [
"--incognito",
"--accept-lang=en-US",
Expand Down

0 comments on commit 967d669

Please sign in to comment.