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