Skip to content

Commit 9c3cebe

Browse files
dusktreaderTucker Beck
authored andcommitted
Updated super __eq__ for pypy
1 parent 4f209fc commit 9c3cebe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pytest_flask/plugin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ def __eq__(self, other):
3838
try:
3939
super_eq = getattr(super_class, '__eq__')
4040
except AttributeError:
41-
super_eq = object.__eq__
42-
finally:
41+
return self is other
42+
else:
4343
return super_eq(other)
4444

4545

0 commit comments

Comments
 (0)