summaryrefslogtreecommitdiff
path: root/test/input/func_noerror_genexp_in_class_scope.py
blob: 5631026ab9b0823717c48594e8dce5bbfd07e4c3 (plain)
1
2
3
4
5
6
7
8
9
# pylint: disable=W0232,R0903
"""class scope must be handled correctly in genexps"""

__revision__ = ''

class MyClass(object):
    """ds"""
    var1 = []
    var2 = list(value*2 for value in var1)