classmethod abstract not working in python2