Remove import of pexpect