It is necessary: if you install Pexpect 3.0 on Python 2, it will have a `spawnu` attribute, but we don't want to use that in that case.