closes bpo-37252: Fix devpoll tests. (GH-14017) (GH-15948)

(cherry picked from commit 95da826db9ed4acbc81f32296f14429c06bd2124)

Co-authored-by: Jakub Kulík <Kulikjak@gmail.com>
2 files changed