'An EnumValue should not implement comparison to other enums.'

def test_compare_different_enum(self):

    for (enumtype, params) in self.valid_values.items():
        for (i, key) in enumerate(params['keys']):
            for compare_func in compare_functions:
                instance = params['values'][key]
                test_value = enum.EnumValue(self.SimpleEnum, i, key)
                compare_method = getattr(instance, compare_func.__name__)
                compare_result = compare_method(test_value)
                self.failUnlessEqual(NotImplemented, compare_result)
