[issue38063] Modify test_socket.py to use unittest test discovery

STINNER Victor report at bugs.python.org
Mon Sep 9 06:47:18 EDT 2019


STINNER Victor <vstinner at python.org> added the comment:

> See also #14408

In 2012, test_main() was used to skip a few test cases.

But since that time, the availability tests were moved from test_main() to the test case classes directly using unittest.skipIf or unittest.skipUnless decorators.

So now using unittest.main() became trivial.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38063>
_______________________________________


More information about the Python-bugs-list mailing list