Permalink
Browse files

Fix small stuff

  • Loading branch information...
mortenvp committed Aug 15, 2017
1 parent 0d4bf8e commit 0c69fee6ca40ac002862977a21fbea3fc10b07d5
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/pytest_testdirectory/testdirectory.py
@@ -339,7 +339,11 @@ def run(self, args, **kwargs):
if stderr is not None:
stderr = checkoutput.CheckOutput(output=stderr)
result = runresult.RunResult(command=' '.join(args), path=self.path(),
command = args
if isinstance(command, list):
command = ' '.join(command)
result = runresult.RunResult(command=command, path=self.path(),
stdout=stdout, stderr=stderr, returncode=popen.returncode,
time=end_time - start_time)

0 comments on commit 0c69fee

Please sign in to comment.