Skip to content

Commit 0c45065

Browse files
author
Yuval Shimon
committed
removing coverage on eq method
1 parent 7cf2b51 commit 0c45065

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testing/test_assertion.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,8 +1021,8 @@ def test_attrs_with_custom_eq(self) -> None:
10211021
class SimpleDataObject:
10221022
field_a = attr.ib()
10231023

1024-
def __eq__(self, other):
1025-
return self.field_a == other.field_a
1024+
def __eq__(self, other): # pragma: no cover
1025+
return super().__eq__(other)
10261026

10271027
left = SimpleDataObject(1)
10281028
right = SimpleDataObject(2)

0 commit comments

Comments
 (0)