repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git]
/
scripts
/
kconfig
/
tests
/
err_recursive_dep
/
__init__.py
blob
5f3821b43ce6d7c210a121ac7547877e81954785
1
# SPDX-License-Identifier: GPL-2.0
2
"""
3
Detect recursive dependency error.
4
5
Recursive dependency should be treated as an error.
6
"""
7
8
def
test
(
conf
):
9
assert
conf
.
oldaskconfig
() ==
1
10
assert
conf
.
stderr_contains
(
'expected_stderr'
)