removing coverage on eq method

This commit is contained in:
Yuval Shimon 2021-12-12 15:39:30 +02:00
parent 7cf2b51d8e
commit 0c45065040
1 changed files with 2 additions and 2 deletions

View File

@ -1021,8 +1021,8 @@ class TestAssert_reprcompare_attrsclass:
class SimpleDataObject:
field_a = attr.ib()
def __eq__(self, other):
return self.field_a == other.field_a
def __eq__(self, other): # pragma: no cover
return super().__eq__(other)
left = SimpleDataObject(1)
right = SimpleDataObject(2)