summaryrefslogtreecommitdiff
path: root/tests/functional/i/inference_crash_4692.py
blob: d41ac7a849854115040e188d903fd11019c5b73b (plain)
1
2
3
4
5
6
7
8
9
"""Regression test for https://github.com/pylint-dev/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'