1# SPDX-License-Identifier: GPL-2.0 2""" 3Hide tristate choice values with mod dependency in y choice. 4 5If tristate choice values depend on symbols set to 'm', they should be 6hidden when the choice containing them is changed from 'm' to 'y' 7(i.e. exclusive choice). 8 9Related Linux commit: fa64e5f6a35efd5e77d639125d973077ca506074 10""" 11 12 13def test(conf): 14 assert conf.oldaskconfig('config', 'y') == 0 15 assert conf.config_contains('expected_config') 16 assert conf.stdout_contains('expected_stdout') 17