treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / scripts / kconfig / tests / inter_choice / __init__.py
blobffea6b1148a6b4309736db7f8505faae3482935b
1 # SPDX-License-Identifier: GPL-2.0
2 """
3 Do not affect user-assigned choice value by another choice.
5 Handling of state flags for choices is complecated. In old days,
6 the defconfig result of a choice could be affected by another choice
7 if those choices interact by 'depends on', 'select', etc.
9 Related Linux commit: fbe98bb9ed3dae23e320c6b113e35f129538d14a
10 """
13 def test(conf):
14 assert conf.defconfig('defconfig') == 0
15 assert conf.config_contains('expected_config')