def testEnumFunctionWithClassContext(self):
        """ example of creating four constants with a class as context
            @note I have tried to move the enum code to the class but this
                  seems not to work """
        class Vector:
            def __init__(self):
                self.vector = [0, 0]

        X = enum(Vector)
        Y = enum(Vector)

        self.assertTrue(X < Y)
        self.assertEqual(X, 0)
        self.assertEqual(Y, 1)
 example of creating four constants with a class as context
            @note I have tried to move the enum code to the class but this
                  seems not to work 
recipes/Python/578015_Simple_enum_mechanism/recipe-578015.py