Permalink
Browse files

Fix todo

  • Loading branch information...
mortenvp committed Aug 15, 2017
1 parent 0c69fee commit 27a1ecab8d240194b90894f0fa163dd458bca80f
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/pytest_testdirectory/testdirectory.py
@@ -142,13 +142,11 @@ def symlink_file(self, filename, rename_as="", relative=True):
filepath = py.path.local(filename)
# @todo move this down
link_name = self.tmpdir.join(filepath.basename)
if relative:
filepath = os.path.relpath(
start=str(self.tmpdir), path=str(filepath))
link_name = self.tmpdir.join(filepath.basename)
if rename_as:
link_name = self.tmpdir.join(rename_as)

0 comments on commit 27a1eca

Please sign in to comment.