We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6226929 commit 4b556afCopy full SHA for 4b556af
test/framework/easyblock.py
@@ -2640,7 +2640,7 @@ def test_extensions_sanity_check(self):
2640
eb = EB_toy(EasyConfig(self.eb_file))
2641
eb.silent = True
2642
write_file(os.path.join(eb.installdir, 'any_file'), '')
2643
- with self.mocked_stdout_stderr():
+ with self.mocked_stdout_stderr(), self.saved_env():
2644
eb.sanity_check_step()
2645
logtxt = read_file(eb.logfile)
2646
self.assertRegex(logtxt, 'Running .*command.*echo "toy output"')
0 commit comments