Skip to content

Commit beb4d8c

Browse files
committed
remove failing tests, update typing
1 parent 1c41760 commit beb4d8c

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

python_files/tests/pytestadapter/.data/test_forked.py

Lines changed: 0 additions & 17 deletions
This file was deleted.

python_files/vscode_pytest/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ def __init__(self, message):
6969
TEST_RUN_PIPE = os.getenv("TEST_RUN_PIPE")
7070
SYMLINK_PATH = None
7171
# Get variable set in the `run_pytest_script.py` for the parent process to check if its forked
72-
ROOT_PROCESS_PID: int = os.getenv("PROCESS_ID")
72+
process_id_envvar = os.getenv("PROCESS_ID")
73+
ROOT_PROCESS_PID: int = int(process_id_envvar) if process_id_envvar else 0
7374

7475

7576
def pytest_load_initial_conftests(early_config, parser, args): # noqa: ARG001

0 commit comments

Comments
 (0)