Skip to content

Commit 5b45c24

Browse files
committed
ignore stdout produced by toy easyblock in test_cleanup_builddir
1 parent a3cde1a commit 5b45c24

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/framework/options.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2580,7 +2580,8 @@ def test_cleanup_builddir(self):
25802580
'--force',
25812581
'--try-amend=prebuildopts=nosuchcommand &&',
25822582
]
2583-
self.eb_main(args, do_build=True)
2583+
with self.mocked_stdout_stderr():
2584+
self.eb_main(args, do_build=True)
25842585
self.assertExists(toy_buildpath, "Build dir %s is retained after failed build" % toy_buildpath)
25852586

25862587
def test_filter_deps(self):

0 commit comments

Comments
 (0)