Metaclass __new__ return value

Yes, it is intentional. You could write a metaclass that returns something that is a duck type for a class, e.g. a function returning mock instances.

1 Like