diff --git a/test/framework/options.py b/test/framework/options.py index 04ed4e6d28..c9c92663e6 100644 --- a/test/framework/options.py +++ b/test/framework/options.py @@ -386,7 +386,8 @@ def test_skip(self): ] test_ec_txt += "\nmodule_only = True\n" write_file(test_ec, test_ec_txt) - self.eb_main(args, do_build=True, raise_error=True) + with self.mocked_stdout_stderr(): + self.eb_main(args, do_build=True, raise_error=True) self.assertEqual(len(glob.glob(toy_mod_glob)), 1)