summaryrefslogtreecommitdiff
path: root/tests/functional/r/regression_02/regression_5048.py
blob: 9cf11baf7e681ec16da651ff5af0435111ffecc9 (plain)
1
2
3
4
5
6
7
8
9
"""Crash regression in astroid on Compare node inference
Fixed in https://github.com/pylint-dev/astroid/pull/1185"""
# pylint: disable=missing-docstring, broad-exception-raised


# Reported at https://github.com/pylint-dev/pylint/issues/5048
def func(parameter):
    if tuple() + (parameter[1],) in set():
        raise Exception()