summaryrefslogtreecommitdiff
path: root/tests/functional/r/regression_02/regression_8067.py
blob: f640aed9d10401e9b29488bd03253907cff29a05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"""Regression tests for inferred.qname missing"""

# pylint: disable=missing-docstring,too-few-public-methods,disallowed-name

x = slice(42)
x()  # [not-callable]


class Foo:
    def __init__(self, foo=slice(42)):
        self.foo = foo


def bar():
    i = Foo()
    i.foo()
    return 100