We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e06f237 commit fea5cb2Copy full SHA for fea5cb2
1 file changed
textattack/shared/attacked_text.py
@@ -92,7 +92,10 @@ def __eq__(self, other):
92
return False
93
else:
94
if isinstance(self.attack_attrs[key], AttackedText):
95
- if not self.attack_attrs[key]._text_input == other.attack_attrs[key]._text_input:
+ if (
96
+ not self.attack_attrs[key]._text_input
97
+ == other.attack_attrs[key]._text_input
98
+ ):
99
100
return True
101
0 commit comments