Skip to content

Commit e1bc128

Browse files
jktjktsamuel-gauthier
authored andcommitted
tests: cleanup unused variable
The result of the load_module() call is not used, because the call is expected to fail. No functional change. Closes: #173 Signed-off-by: Jan Kundrát <jan.kundrat@cesnet.cz> Signed-off-by: Samuel Gauthier <samuel.gauthier@6wind.com>
1 parent c688f56 commit e1bc128

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/test_context.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def get_module_invalid_clb(mod_name, *_):
174174

175175
ctx.external_module_loader.set_module_data_clb(get_module_invalid_clb)
176176
with self.assertRaises(LibyangError):
177-
mod = ctx.load_module("yolo-nodetypes")
177+
ctx.load_module("yolo-nodetypes")
178178

179179
ctx.external_module_loader.set_module_data_clb(get_module_valid_clb)
180180
mod = ctx.load_module("yolo-nodetypes")

0 commit comments

Comments
 (0)