Skip to content

test: replace tmpdir with tmp_path#554

Open
terminalchai wants to merge 2 commits intodrivendataorg:masterfrom
terminalchai:test/replace-tmpdir-with-tmp-path
Open

test: replace tmpdir with tmp_path#554
terminalchai wants to merge 2 commits intodrivendataorg:masterfrom
terminalchai:test/replace-tmpdir-with-tmp-path

Conversation

@terminalchai
Copy link

Summary

  • replace deprecated pytest tmpdir fixture usage with tmp_path in the remaining tests
  • update directory creation helpers to use pathlib.Path operations where needed
  • drop now-unused fixture arguments and imports after the migration

Closes #370

Testing

  • python -m pytest -vv
  • python -m black --check cloudpathlib tests docs
  • python -m flake8 cloudpathlib tests docs
  • python -m mypy cloudpathlib

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.

Tests: tmpdir is deprecated and we should use tmp_path instead

1 participant