Don't installe poll when tests are imported.

This prevents tests from being runnable on non-Linux systems unecessarily.