Skip to content

Commit

Permalink
fix python2 path
Browse files Browse the repository at this point in the history
  • Loading branch information
bnavigator committed Jul 13, 2020
1 parent 1f783f5 commit 22ce173
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run_tests.py
Expand Up @@ -11,7 +11,7 @@


def write_python_file(tmpdir, content):
file_path = os.path.join(tmpdir, 'test.py')
file_path = os.path.join(str(tmpdir), 'test.py')
with open(file_path, 'w') as python_file:
python_file.write(content)
return (file_path, content)
Expand All @@ -38,7 +38,7 @@ def write_pyproject_toml(tmpdir, content):


def write_config_file(tmpdir, filename, content):
file_path = os.path.join(tmpdir, filename)
file_path = os.path.join(str(tmpdir), filename)
with open(file_path, 'w') as config_file:
config_file.write(content)

Expand Down

0 comments on commit 22ce173

Please sign in to comment.