This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: UDPTimeoutTest derives from SocketTCPTest
Type: Stage: resolved
Components: Tests Versions: Python 3.2, Python 3.3, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: ezio.melotti Nosy List: ezio.melotti, ned.deily, python-dev, rmtew
Priority: normal Keywords:

Created on 2011-02-04 03:06 by rmtew, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (4)
msg127863 - (view) Author: (rmtew) Date: 2011-02-04 03:06
File: Lib\test\test_socket.py

Code: 

  class UDPTimeoutTest(SocketTCPTest):

Problem:

This test is intended to test UDP sockets, but derives from SocketTCPTest.  Logic dictates this should derive from SocketUDPTest.

I've searched for UDP (with differing case, as that seems to matter) in several different fields on this site, and found no relevant matches.
msg127875 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2011-02-04 09:03
Thanks for the report.  That does indeed seem to be a bug in the test:

"UDPTimeoutTest(SocketTCPTest)" should be "UDPTimeoutTest(SocketUDPTest)"

As the 3.2 release is in its final release candidate stage and this is not a release critical issue, the fix should wait until the source tree has opened up again for general fixes.
msg147890 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-11-18 16:36
New changeset 0fdf7f7c353d by Ezio Melotti in branch '2.7':
#11112: Fix typo in a base class in test_socket.
http://hg.python.org/cpython/rev/0fdf7f7c353d

New changeset b410bcd300a1 by Ezio Melotti in branch '3.2':
#11112: Fix typo in a base class in test_socket.
http://hg.python.org/cpython/rev/b410bcd300a1

New changeset 116ed0ce5756 by Ezio Melotti in branch 'default':
#11112: merge with 3.2.
http://hg.python.org/cpython/rev/116ed0ce5756
msg147892 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2011-11-18 16:37
Fixed, thanks for the report!
History
Date User Action Args
2022-04-11 14:57:12adminsetgithub: 55321
2011-11-18 16:37:31ezio.melottisetstatus: open -> closed

assignee: ezio.melotti
versions: - Python 3.1
nosy: + ezio.melotti

messages: + msg147892
resolution: fixed
stage: needs patch -> resolved
2011-11-18 16:36:18python-devsetnosy: + python-dev
messages: + msg147890
2011-02-04 09:03:32ned.deilysetversions: + Python 3.3, - Python 2.6, Python 2.5
nosy: + ned.deily

messages: + msg127875

stage: needs patch
2011-02-04 03:06:01rmtewcreate