We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8af9796 commit c410a86Copy full SHA for c410a86
tests/basics/special_methods.py
@@ -100,6 +100,10 @@ def __int__(self):
100
cud2 = Cud()
101
102
str(cud1)
103
+cud1 == cud1
104
+cud1 == cud2
105
+cud1 != cud1
106
+cud1 != cud2
107
cud1 < cud2
108
cud1 <= cud2
109
cud1 == cud2
tests/basics/special_methods2.py
@@ -129,12 +129,3 @@ def __dir__(self):
129
130
# test that dir() does not delegate to __dir__ for the type
131
print('a' in dir(Cud))
132
-
133
-# TODO: the following operations are not supported on every ports
134
-#
135
-# ne is not supported, !(eq) is called instead
136
-#cud1 != cud2
137
138
-# in the following test, cpython still calls __eq__
139
-# cud3=cud1
140
-# cud3==cud1
0 commit comments