Skip to content

Commit f639bf2

Browse files
committed
fix unit test for py 3.5
1 parent 3744f61 commit f639bf2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_util.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,8 @@ def test_mkdocs_in_git_subdir(tmp_path):
271271
"""
272272
testproject_path = tmp_path / 'testproject'
273273

274-
shutil.copytree('tests/basic_setup/docs', testproject_path / 'website' / 'docs')
275-
shutil.copyfile("tests/basic_setup/mkdocs.yml", testproject_path / 'website' / 'mkdocs.yml')
274+
shutil.copytree('tests/basic_setup/docs', str(testproject_path / 'website' / 'docs'))
275+
shutil.copyfile("tests/basic_setup/mkdocs.yml", str(testproject_path / 'website' / 'mkdocs.yml'))
276276

277277
cwd = os.getcwd()
278278
os.chdir(str(testproject_path))

0 commit comments

Comments
 (0)