Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions python_files/vscode_pytest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,9 @@ def pytest_sessionfinish(session, exitstatus):
"lines_covered": list(lines_covered), # list of int
"lines_missed": list(lines_missed), # list of int
}
# convert relative path to absolute path
if not pathlib.Path(file).is_absolute():
file = str(pathlib.Path(file).resolve())
file_coverage_map[file] = file_info

payload: CoveragePayloadDict = CoveragePayloadDict(
Expand Down