diff options
Diffstat (limited to 'tests/functional/u/unused/unused_import_assigned_to.py')
-rw-r--r-- | tests/functional/u/unused/unused_import_assigned_to.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/functional/u/unused/unused_import_assigned_to.py b/tests/functional/u/unused/unused_import_assigned_to.py index fb339bce7..21b8e97c9 100644 --- a/tests/functional/u/unused/unused_import_assigned_to.py +++ b/tests/functional/u/unused/unused_import_assigned_to.py @@ -1,5 +1,5 @@ # pylint: disable=missing-docstring, import-error, invalid-name -# pylint: disable=too-few-public-methods, disallowed-name, no-member, useless-object-inheritance +# pylint: disable=too-few-public-methods, disallowed-name, no-member import uuid @@ -9,7 +9,7 @@ import foo from .a import x -class Y(object): +class Y: x = x[0] @@ -17,9 +17,9 @@ def test(default=None): return default -class BaseModel(object): +class BaseModel: uuid = test(default=uuid.uuid4) -class bar(object): +class bar: foo = foo.baz |