Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ jobs:
# macOS runners are expensive, and we assume that Ubuntu is enough to cover the Unix case.
os: [ubuntu-latest, windows-latest]
# Run the tests on the oldest and most recent versions of Python.
python: ['3.8', '3.x', '3.12-dev']
python: ['3.8', '3.x', '3.13-dev']

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
# macOS runners are expensive, and we assume that Ubuntu is enough to cover the Unix case.
os: [ubuntu-latest, windows-latest]
# Run the tests on the oldest and most recent versions of Python.
python: ['3.8', '3.x'] # run for 3 pytest versions, most recent stable, oldest version supported and pre-release
python: ['3.8', '3.x', '3.13-dev'] # run for 3 pytest versions, most recent stable, oldest version supported and pre-release
pytest-version: ['pytest', 'pytest@pre-release', 'pytest==6.2.0']

steps:
Expand Down
6 changes: 6 additions & 0 deletions python_files/testing_tools/adapter/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,12 @@ def _resolve_relpath(
if path.startswith("./"):
return path[2:]
if not _path_isabs(path):
if rootdir:
rootdir = rootdir.replace(_pathsep, "/")
if not rootdir.endswith("/"):
rootdir += "/"
if _normcase(path).startswith(_normcase(rootdir)):
return path[len(rootdir) :]
return path

# Deal with root-dir-as-fileid.
Expand Down
Loading
Loading