Fix prefixed_command_runner_test to not create real directories.

This commit is contained in:
Anthony Sottile
2014-03-30 14:01:07 -07:00
parent 288d32d226
commit 32d2807554
3 changed files with 6 additions and 1 deletions

View File

@@ -79,4 +79,8 @@ class PrefixedCommandRunner(object):
"""Constructs a new command runner from an existing one by appending
`path_end` to the command runner's prefix directory.
"""
return cls(command_runner.path(path_end), popen=command_runner.__popen)
return cls(
command_runner.path(path_end),
popen=command_runner.__popen,
makedirs=command_runner.__makedirs,
)