Skip to content

Commit 8657bbd

Browse files
committed
Revert change on irbuild-classes.test
1 parent 599f046 commit 8657bbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mypyc/test-data/irbuild-classes.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -864,15 +864,15 @@ def f(a, b):
864864
r0 :: object
865865
r1 :: bool
866866
L0:
867-
r0 = a.__eq__(b)
867+
r0 = PyObject_RichCompare(a, b, 2)
868868
r1 = unbox(bool, r0)
869869
return r1
870870
def f2(a, b):
871871
a, b :: __main__.Base
872872
r0 :: object
873873
r1 :: bool
874874
L0:
875-
r0 = a.__ne__(b)
875+
r0 = PyObject_RichCompare(a, b, 3)
876876
r1 = unbox(bool, r0)
877877
return r1
878878
def fOpt(a, b):

0 commit comments

Comments
 (0)