Issue #21038: Cleanup test_epoll.py

Remove useless test and unused variables. Initial patch by Andreas Schwab.
backport: #20145: assertRaisesRegexp now raises a TypeError on bad regex.

Previously a non-string, non-regex second argument and no callable
argument could cause the test to appear to always pass.