Skip to content

Commit

Permalink
Fix #204: Use symlinks in venv creation during test.
Browse files Browse the repository at this point in the history
  • Loading branch information
vsajip committed Jul 19, 2023
1 parent e01b65e commit eeaa18d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ def test_custom_shebang(self):
bindir = os.path.join(dstdir, 'bin')
maker = ScriptMaker(self.maker.source_dir, bindir,
add_launchers=False)
venv.create(dstdir)
# See issue #204. Changed to use symlinks on POSIX
venv.create(dstdir, symlinks=(os.name != 'nt'))
maker.executable = os.path.join(bindir, 'python')
filenames = maker.make('script8.py')
p = subprocess.Popen(filenames[0], shell=True,
Expand Down

0 comments on commit eeaa18d

Please sign in to comment.