Use __class__.__name__ instead of __qualname__
Pep8 fix