Skip to content

Upgrade old Pytest tmpdir fixtures to tmp_path #212

Description

@jamescooke

Current behaviour

Tests are still using tmpdir fixture which is deprecated: https://docs.pytest.org/en/stable/how-to/tmp_path.html#the-tmpdir-and-tmpdir-factory-fixtures

Expected behaviour

Upgrade these fixtures to use tmp_path.

Tests can be hunted down with:

tox e -e py311-test_code -- pytest tests -p no:legacypath

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions