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
@@ -22,10 +22,10 @@ project_with_ssl_tests = CTemplateProject(
)
def test(tmpdir):
def test(tmp_path):
# this test checks that SSL is working in the build environment using
# some checks in setup.py.
project_dir = str(tmpdir)
project_dir = tmp_path / 'project'
project_with_ssl_tests.generate(project_dir)
utils.cibuildwheel_run(project_dir)