Skip to content

tests: use tmpdir fixture to avoid race#261

Closed
ncopa wants to merge 1 commit intoc0fec0de:mainfrom
ncopa:tests-tmpdir
Closed

tests: use tmpdir fixture to avoid race#261
ncopa wants to merge 1 commit intoc0fec0de:mainfrom
ncopa:tests-tmpdir

Conversation

@ncopa
Copy link
Copy Markdown

@ncopa ncopa commented Apr 2, 2024

This solves failure with pytest 8.

ref: https://docs.pytest.org/en/6.2.x/tmpdir.html
fixes: #258

algitbot pushed a commit to alpinelinux/aports that referenced this pull request Apr 2, 2024
@c0fec0de
Copy link
Copy Markdown
Owner

c0fec0de commented Apr 8, 2025

Fixed by #272
Using tmp_path which is even better.
Sorry for not taking the pull-request directly.
Will mention you in release notes

@c0fec0de c0fec0de closed this Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2.12.1: pytest fails because missing files

2 participants