I would like to create an interface on top of a QAbstractTableModel.
To test so, I derived the following snippet which reproduces my problem:
import abc
from PyQt5 import QtCore
class IFileSystemModel(QtCore.QAbstractTableModel):
    
    __metaclass__ = abc.ABCMeta
    @abc.abstractmethod
    def toto(self):
        pass
class LocalFileSystemModel(IFileSystemModel):
    pass
l = LocalFileSystemModel()
Running that code, I would expect the following exception TypeError: Can't instantiate abstract class LocalFileSystemModel with abstract methods toto. Instead, the code does not throw. I may misunderstand something at this stage. Could you point me to the right direction please ?
 
    