actually test a method that will be lookup in py3

This commit is contained in:
Benjamin Peterson 2009-10-11 18:28:48 +00:00
parent bc470d5023
commit a8b976bd7f
1 changed files with 2 additions and 2 deletions

View File

@ -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):