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 8d8029d commit cc2a478Copy full SHA for cc2a478
test/framework/modules.py
@@ -1544,8 +1544,9 @@ def test_modulecmd_strip_source(self):
1544
os.environ['PATH'] = '%s:%s' % (self.test_prefix, os.getenv('PATH'))
1545
1546
self.allow_deprecated_behaviour()
1547
- modtool = EnvironmentModulesC()
1548
- modtool.run_module('load', 'test123')
+ with self.mocked_stdout_stderr():
+ modtool = EnvironmentModulesC()
1549
+ modtool.run_module('load', 'test123')
1550
self.assertEqual(os.getenv('TEST123'), 'test123')
1551
1552
def test_get_setenv_value_from_modulefile(self):
0 commit comments