blob: 5e990aaa700ecc2c12c252921940e70850759c39 [file] [log] [blame]
"""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'