Aexpect spawn's definition

I realized this problem when I tried to test guestfs_add.
@lmr replaced aexpect.ShellSession.__init__ with super(...), then it always outputs:
TypeError: super() argument 1 must be type, not classobj