blob: 5e990aaa700ecc2c12c252921940e70850759c39 (
plain)
1
2
3
4
5
6
7
8
9
|
"""Regression test for https://github.com/PyCQA/pylint/issues/4692."""
# We can't use click like in the issue because the crash
# does not appear if click is installed (astroid can analyse it)
import notclick # [import-error]
for name, item in notclick.__dict__.items():
_ = isinstance(item, notclick.Command) and item != 'foo'
|