diff options
Diffstat (limited to 'tests/functional/g/genexp_in_class_scope.py')
-rw-r--r-- | tests/functional/g/genexp_in_class_scope.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/functional/g/genexp_in_class_scope.py b/tests/functional/g/genexp_in_class_scope.py index 93e0ceaae..73585c2be 100644 --- a/tests/functional/g/genexp_in_class_scope.py +++ b/tests/functional/g/genexp_in_class_scope.py @@ -1,6 +1,5 @@ # pylint: disable=too-few-public-methods, missing-docstring -# pylint: disable=useless-object-inheritance """Class scope must be handled correctly in genexps""" -class MyClass(object): +class MyClass: var1 = [] var2 = list(value*2 for value in var1) |