Skip to content

Commit

Permalink
Fix paths for Python 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
takluyver committed Oct 3, 2018
1 parent 3ec8e08 commit 271eaad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nsist/tests/test_installerbuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def test_prepare_shortcuts(tmpdir):
assert preamble_contents in contents

def test_copy_extra_files(tmpdir):
tmpdir = str(tmpdir)
files = [
(pjoin(test_dir, 'data_files', 'dir1', 'eg-data.txt'), '$INSTDIR'),
(pjoin(test_dir, 'data_files', 'dir2', 'eg-data.txt'), '$INSTDIR\\foo'),
Expand All @@ -57,6 +58,7 @@ def test_copy_extra_files(tmpdir):
]

def test_copy_installer_nsi(tmpdir):
tmpdir = str(tmpdir)
files = [
(pjoin(test_dir, 'data_files', 'dir1', 'installer.nsi'), None),
]
Expand Down

0 comments on commit 271eaad

Please sign in to comment.