We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent affbd1b commit cd714bfCopy full SHA for cd714bf
python_files/vscode_pytest/__init__.py
@@ -474,6 +474,9 @@ def pytest_sessionfinish(session, exitstatus):
474
"lines_covered": list(lines_covered), # list of int
475
"lines_missed": list(lines_missed), # list of int
476
}
477
+ # convert relative path to absolute path
478
+ if not pathlib.Path(file).is_absolute():
479
+ file = str(pathlib.Path(file).resolve())
480
file_coverage_map[file] = file_info
481
482
payload: CoveragePayloadDict = CoveragePayloadDict(
0 commit comments