tests: Clarify skipped Poller test reasons

pull/964/head
Alex Willmer 2 years ago
parent edd2868ef6
commit 7d79c56cb6

@ -394,21 +394,16 @@ class AllMixin(ReceiveStateMixin,
"""
class SelectTest(AllMixin, testlib.TestCase):
class CorePollerTest(AllMixin, testlib.TestCase):
klass = mitogen.core.Poller
SelectTest = unittest.skipIf(
condition=(not SelectTest.klass.SUPPORTED),
reason='select.select() not supported'
)(SelectTest)
class PollTest(AllMixin, testlib.TestCase):
klass = mitogen.parent.PollPoller
PollTest = unittest.skipIf(
condition=(not PollTest.klass.SUPPORTED),
reason='select.poll() not supported'
reason='select.poll() not available',
)(PollTest)
@ -417,7 +412,7 @@ class KqueueTest(AllMixin, testlib.TestCase):
KqueueTest = unittest.skipIf(
condition=(not KqueueTest.klass.SUPPORTED),
reason='select.kqueue() not supported'
reason='select.kqueue() not available',
)(KqueueTest)
@ -426,5 +421,5 @@ class EpollTest(AllMixin, testlib.TestCase):
EpollTest = unittest.skipIf(
condition=(not EpollTest.klass.SUPPORTED),
reason='select.epoll() not supported'
reason='select.epoll() not available',
)(EpollTest)

Loading…
Cancel
Save