From 277774397023211bf89ca58a2c92a6c7b8fb39fb Mon Sep 17 00:00:00 2001 From: Claudiu Popa Date: Thu, 26 Sep 2019 09:17:00 +0200 Subject: Rename attributes to prepare for the astroid dataclass transform --- tests/functional/too/too_few_public_methods_37.py | 8 ++++---- 1 file 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 -- cgit v1.2.1