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
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.