Skip to content

Commit 219be7c

Browse files
committed
fix faulty imports in toy_build test module
1 parent eb768a1 commit 219be7c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/framework/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def test_run_shell_cmd_log(self):
249249
os.close(fd)
250250

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

254254
# command output is always logged
255255
init_logging(logfile, silent=True)

test/framework/toy_build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
from easybuild.tools.filetools import read_file, remove_dir, remove_file, which, write_file
5959
from easybuild.tools.module_generator import ModuleGeneratorTcl
6060
from easybuild.tools.modules import Lmod
61-
from easybuild.tools.run import RunShellCmdError, run_cmd, run_shell_cmd
61+
from easybuild.tools.run import run_cmd
6262
from easybuild.tools.utilities import nub
6363
from easybuild.tools.systemtools import get_shared_lib_ext
6464
from easybuild.tools.version import VERSION as EASYBUILD_VERSION

0 commit comments

Comments
 (0)