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

2021-09-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I has merged similar PR in issue45187. Although it required to fix some existing bugs first. -- nosy: +serhiy.storchaka ___ Python tracker ___

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

2020-02-10 Thread STINNER Victor
STINNER Victor added the comment: I mark this issue as a duplicate of bpo-14408. -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Support ./python -m unittest in test_socket ___ Python tracker

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

2020-01-30 Thread STINNER Victor
STINNER Victor added the comment: My PR 15751 didn't work. If someone else wants to give a try to fix this issue, please go ahead! -- ___ Python tracker ___ _

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

2019-09-09 Thread STINNER Victor
STINNER Victor 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 unitte

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

2019-09-09 Thread STINNER Victor
STINNER Victor added the comment: Right now, test_main() is awful: 75 lines of code which is a very long list of class names! There are just 2 lines to check if tests don't leak a running thread. def test_main(): tests = [GeneralModuleTests, BasicTCPTest, TCPCloserTest, TCPTimeoutTest,

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

2019-09-09 Thread Zachary Ware
New submission from Zachary Ware : See also #14408. -- nosy: +zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

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

2019-09-09 Thread STINNER Victor
Change by STINNER Victor : -- versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

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

2019-09-09 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +15405 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15751 ___ Python tracker ___ _

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

2019-09-09 Thread STINNER Victor
Change by STINNER Victor : -- components: Tests nosy: vstinner priority: normal severity: normal status: open title: Modify test_socket.py to use unittest test discovery type: enhancement versions: Python 3.9 ___ Python tracker