Commit a8b976bd authored by Benjamin Peterson's avatar Benjamin Peterson

actually test a method that will be lookup in py3

parent bc470d50
......@@ -1022,8 +1022,8 @@ order (MRO) for bases """
import sys,gc
if hasattr(gc, 'get_objects'):
class G(object):
def __cmp__(self, other):
return 0
def __eq__(self, other):
return False
g = G()
orig_objects = len(gc.get_objects())
for i in range(10):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment