Skip to content
Draft
Show file tree
Hide file tree
Changes from 2 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/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
if: runner.os == 'Windows'
shell: bash
env:
TMPDIR: 'D:\\a\\_temp'
TMPDIR: 'C:\\a\\_temp'
run: uv run pytest tests
- name: Test
if: runner.os != 'Windows'
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
media type value for these types and new media types COPC and VND_PMTILES
([#1554](https://github.com/stac-utils/pystac/pull/1554))

### Changed

- Update drive used by windows runners during tests

### Fixed

- More permissive collection extent deserialization ([#1559](https://github.com/stac-utils/pystac/pull/1559))
Expand Down
6 changes: 3 additions & 3 deletions tests/test_layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ class TestAsIsLayoutStrategy:
def test_catalog(self) -> None:
strategy = AsIsLayoutStrategy()
expected_local_href = (
"/an/href" if not path_includes_drive_letter() else "D:/an/href"
"/an/href" if not path_includes_drive_letter() else "C:/an/href"
)
cat = pystac.Catalog(id="test", description="test desc")
with pytest.raises(ValueError):
Expand All @@ -417,7 +417,7 @@ def test_catalog(self) -> None:
def test_collection(self) -> None:
strategy = AsIsLayoutStrategy()
expected_local_href = (
"/an/href" if not path_includes_drive_letter() else "D:/an/href"
"/an/href" if not path_includes_drive_letter() else "C:/an/href"
)
collection = TestCases.case_8()
collection.set_self_href(None)
Expand All @@ -432,7 +432,7 @@ def test_collection(self) -> None:
def test_item(self) -> None:
strategy = AsIsLayoutStrategy()
expected_local_href = (
"/an/href" if not path_includes_drive_letter() else "D:/an/href"
"/an/href" if not path_includes_drive_letter() else "C:/an/href"
)
collection = TestCases.case_8()
item = next(collection.get_items(recursive=True))
Expand Down