drivendataorg / drivendataorg/cloudpathlib

Tests: `tmpdir` is deprecated and we should use `tmp_path` instead

Open
#370 1 comment 0 reactions 0 assignees View on GitHub
good first issue tests
Dominant language
Python
Stars
628
Forks
88
Avg merge
17h 28m
Merged PRs (30d)
2

Description

We use `tmpdir` throughout the tests, but it is deprecated:
https://docs.pytest.org/en/stable/how-to/tmp_path.html#the-tmpdir-and-tmpdir-factory-fixtures

We should remove replace `tmpdir` fixture with `tmp_path` throughout the test suite.

_Originally posted by @jayqi in https://github.com/drivendataorg/cloudpathlib/pull/361#discussion_r1304854288_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.