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


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