Skip to content

Commit

Permalink
fix codestyle issues
Browse files Browse the repository at this point in the history
  • Loading branch information
lexming committed Nov 22, 2024
1 parent 5b4372e commit f20adb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions easybuild/tools/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ def remove(self, *args):
# item is not in the list, move along
self.log.debug(f"ModuleEnvironmentVariable does not contain item: {' '.join(args)}")


class ModuleLoadEnvironment:
"""Environment set by modules on load"""

Expand Down
2 changes: 1 addition & 1 deletion test/framework/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -1610,7 +1610,7 @@ def test_module_environment_variable(self):
self.assertEqual(mod_envar.contents, ["include", "share"])
mod_envar.append("share")
self.assertEqual(mod_envar.contents, ["include", "share"])
self.assertRaises(TypeError, mod_envar.append, "arg1" , "arg2")
self.assertRaises(TypeError, mod_envar.append, "arg1", "arg2")

mod_envar.extend(test_paths)
self.assertEqual(mod_envar.contents, ["include", "share", "lib", "lib64"])
Expand Down

0 comments on commit f20adb8

Please sign in to comment.