Skip to content

Commit

Permalink
avoid trace output produced by main in test_skip
Browse files Browse the repository at this point in the history
  • Loading branch information
boegel committed Jun 19, 2024
1 parent 6ff1c72 commit e85b114
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/framework/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit e85b114

Please sign in to comment.