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 10, 2021
1 parent 73089b5 commit 64166df
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 64166df

Please sign in to comment.