Skip to content

Commit

Permalink
fix faulty imports in toy_build test module
Browse files Browse the repository at this point in the history
  • Loading branch information
boegel committed Oct 7, 2023
1 parent eb768a1 commit 219be7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/framework/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def test_run_shell_cmd_log(self):
os.close(fd)

regex_start_cmd = re.compile("Running command 'echo hello' in /")
regex_cmd_exit = re.compile("Shell command completed successfully \(see output above\): echo hello")
regex_cmd_exit = re.compile(r"Shell command completed successfully \(see output above\): echo hello")

# command output is always logged
init_logging(logfile, silent=True)
Expand Down
2 changes: 1 addition & 1 deletion test/framework/toy_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
from easybuild.tools.filetools import read_file, remove_dir, remove_file, which, write_file
from easybuild.tools.module_generator import ModuleGeneratorTcl
from easybuild.tools.modules import Lmod
from easybuild.tools.run import RunShellCmdError, run_cmd, run_shell_cmd
from easybuild.tools.run import run_cmd
from easybuild.tools.utilities import nub
from easybuild.tools.systemtools import get_shared_lib_ext
from easybuild.tools.version import VERSION as EASYBUILD_VERSION
Expand Down

0 comments on commit 219be7c

Please sign in to comment.