Skip to content

Support pathlike attachment files#82

Open
Herrtian wants to merge 1 commit into
pytest-dev:masterfrom
Herrtian:support-pathlike-attachments
Open

Support pathlike attachment files#82
Herrtian wants to merge 1 commit into
pytest-dev:masterfrom
Herrtian:support-pathlike-attachments

Conversation

@Herrtian
Copy link
Copy Markdown

Converts attachment paths with os.fsdecode() before storing them, so pathlib.Path values work with the NUnit XML output.

Closes #23.

Checks:

  • uv run --with pytest --with pytest-cov --with xmlschema==1.0.13 --with attrs python -m pytest tests/integration/test_properties.py -q
  • uv run --with pytest --with pytest-cov --with xmlschema==1.0.13 --with attrs python -m pytest tests -q

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.

Support pathlib for attachment files

1 participant