diff options
Diffstat (limited to 'tests/functional/d/decorator_scope.py')
-rw-r--r-- | tests/functional/d/decorator_scope.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/functional/d/decorator_scope.py b/tests/functional/d/decorator_scope.py index 2f6d037c6..f499e15db 100644 --- a/tests/functional/d/decorator_scope.py +++ b/tests/functional/d/decorator_scope.py @@ -1,4 +1,4 @@ -# -*- pylint: disable=too-few-public-methods, useless-object-inheritance, unnecessary-lambda-assignment +# -*- pylint: disable=too-few-public-methods, unnecessary-lambda-assignment """Test that decorators sees the class namespace - just like function default values does but function body doesn't. @@ -6,9 +6,8 @@ https://www.logilab.net/elo/ticket/3711 - bug finding decorator arguments https://www.logilab.net/elo/ticket/5626 - name resolution bug inside classes """ -from __future__ import print_function -class Test(object): +class Test: """test class""" ident = lambda x: x |