Skip to content

Commit

Permalink
[pylint-dev#4692] Add a regression test for inference crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Jul 21, 2021
1 parent a2c166c commit 661e4cd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/functional/i/inference_crash_4692.py
@@ -0,0 +1,7 @@
"""Regression test for https://github.com/PyCQA/pylint/issues/4692."""

import click


for name, item in click.__dict__.items():
_ = isinstance(item, click.Command) and item != 'foo'

0 comments on commit 661e4cd

Please sign in to comment.