Skip to content

Commit c840ea9

Browse files
committed
fix diverging state between tests with depends_on enabled/disabled in test_toy_multi_deps
1 parent 7e025b2 commit c840ea9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/framework/toy_build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3488,6 +3488,7 @@ def check_toy_load(depends_on=False):
34883488
loaded_mod_names = [x['mod_name'] for x in self.modtool.list()]
34893489
self.assertNotIn('toy/0.0', loaded_mod_names)
34903490
self.assertIn('GCC/7.3.0-2.30', loaded_mod_names)
3491+
self.modtool.unload(['GCC/7.3.0-2.30'])
34913492
else:
34923493
# just undo
34933494
self.modtool.unload(['toy/0.0', 'GCC/7.3.0-2.30'])

0 commit comments

Comments
 (0)