[issue14408] Support ./python -m unittest in test_socket

2021-09-20 Thread STINNER Victor
STINNER Victor added the comment: Lib/test/test_socket.py has no more test_main() function, but uses: if __name__ == "__main__": unittest.main() Moreover, "./python -m unittest Lib/test/test_socket.py -v" works as expected. I close the issue. -- dependencies: -Fix test

[issue14408] Support ./python -m unittest in test_socket

2021-09-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It has been done in issue45187. The problem with reaping threads was solved by using setUpModule() and addModuleCleanup(). Matt's patch contains also replacing calls of concrete class __init__s with using super(). It can be applied. -- nosy:

[issue14408] Support ./python -m unittest in test_socket

2020-02-10 Thread STINNER Victor
STINNER Victor added the comment: I marked bpo-38063 as a duplicate of this issue. -- nosy: +vstinner ___ Python tracker ___ ___

[issue14408] Support ./python -m unittest in test_socket

2013-04-16 Thread R. David Murray
R. David Murray added the comment: Sure, let's rename it since there's a useful patch here. -- title: Support ./python -m unittest in the stdlib tests - Support ./python -m unittest in test_socket ___ Python tracker rep...@bugs.python.org

[issue14408] Support ./python -m unittest in test_socket

2013-04-16 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- dependencies: +Fix test discovery for test_concurrent_futures.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14408 ___