Skip to content

Commit 362f231

Browse files
committed
Adapt tests
1 parent 5fd10c4 commit 362f231

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/framework/toy_build.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1778,7 +1778,7 @@ def test_external_dependencies(self):
17781778
write_file(toy_ec, ectxt + extraectxt)
17791779

17801780
if isinstance(self.modtool, Lmod):
1781-
err_msg = r"Module command \\'.*load nosuchbuilddep/0.0.0\\' failed"
1781+
err_msg = r"Module command '.*load nosuchbuilddep/0.0.0' failed"
17821782
else:
17831783
err_msg = r"Unable to locate a modulefile for 'nosuchbuilddep/0.0.0'"
17841784

@@ -1791,7 +1791,7 @@ def test_external_dependencies(self):
17911791
write_file(toy_ec, ectxt + extraectxt)
17921792

17931793
if isinstance(self.modtool, Lmod):
1794-
err_msg = r"Module command \\'.*load nosuchmodule/1.2.3\\' failed"
1794+
err_msg = r"Module command '.*load nosuchmodule/1.2.3' failed"
17951795
else:
17961796
err_msg = r"Unable to locate a modulefile for 'nosuchmodule/1.2.3'"
17971797

0 commit comments

Comments
 (0)