diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2019-09-26 09:17:00 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2019-09-26 09:17:00 +0200 |
commit | 277774397023211bf89ca58a2c92a6c7b8fb39fb (patch) | |
tree | 119b874530870cc468016140a1d748e502517de8 | |
parent | fde732e0e9a4f224c5ae48ad942c6d955aa0a8e6 (diff) | |
download | pylint-git-277774397023211bf89ca58a2c92a6c7b8fb39fb.tar.gz |
Rename attributes to prepare for the astroid dataclass transform
-rw-r--r-- | tests/functional/too/too_few_public_methods_37.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/functional/too/too_few_public_methods_37.py b/tests/functional/too/too_few_public_methods_37.py index 5e641f6cc..55fc54484 100644 --- a/tests/functional/too/too_few_public_methods_37.py +++ b/tests/functional/too/too_few_public_methods_37.py @@ -28,10 +28,10 @@ class Example(typing.NamedTuple): class Point: """A three dimensional point with x, y and z components.""" - x: float - y: float - z: float + attr1: float + attr2: float + attr3: float def to_array(self): """Convert to a NumPy array `np.array((x, y, z))`.""" - return self.x + return self.attr1 |