stubtest
produce no error when @abstractmethod
is omitted from stubs
#13322
Labels
stubtest
produce no error when @abstractmethod
is omitted from stubs
#13322
If I have this runtime implementation:
And this stub:
There's no error.
Why is that important?
Because with the stub like above, mypy will allow to create an instance of
A
.But, mypy should not be allow to do that.
I think it is a bug that should be fixed. And it is a pretty easy one.
The text was updated successfully, but these errors were encountered: