Refactor to use tmp_path and pathlib paths
This commit is contained in:
@@ -28,8 +28,8 @@ project_with_before_build_asserts = CTemplateProject(
|
||||
)
|
||||
|
||||
|
||||
def test(tmpdir):
|
||||
project_dir = str(tmpdir)
|
||||
def test(tmp_path):
|
||||
project_dir = tmp_path / 'project'
|
||||
project_with_before_build_asserts.generate(project_dir)
|
||||
|
||||
# build the wheels
|
||||
|
||||
Reference in New Issue
Block a user