(self, cls, *args, **kwargs)
return inst
Create a new instance of our assigned BaseCaptcha subclass, passing
           it any extra arguments we're given. This stores the result for
           later testing.
Create a new instance of our assigned BaseCaptcha subclass, passing
           it any extra arguments we're given. This stores the result for
           later testing.
Create a new instance of our assigned BaseCaptcha subclass passing it any extra arguments we re given . This stores the result for later testing .
def new(self, cls, *args, **kwargs):
        """Create a new instance of our assigned BaseCaptcha subclass, passing
           it any extra arguments we're given. This stores the result for
           later testing.
           """
        self.clean()
        inst = cls(*args, **kwargs)
        self.storedInstances[inst.id] = inst
        return inst
def new ( self , cls , * args , * * kwargs ) : self . clean ( ) inst = cls ( * args , * * kwargs ) self . storedInstances [ inst . id ] = inst return inst