Refactor to use tmp_path and pathlib paths

This commit is contained in:
Joe Rickerby
2020-05-03 14:08:57 +01:00
parent 33f210b85c
commit dafe5cd1f7
12 changed files with 37 additions and 37 deletions
+2 -2
View File
@@ -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