mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Issue #5824: Fix DatagramRequestHandler tests by binding the client socket
This commit is contained in:
parent
ee3074e1f4
commit
1827eff030
2 changed files with 19 additions and 28 deletions
|
@ -120,11 +120,6 @@ BaseServer:
|
|||
|
||||
# Author of the BaseServer patch: Luke Kenneth Casson Leighton
|
||||
|
||||
# XXX Warning!
|
||||
# There is a test suite for this module, but it cannot be run by the
|
||||
# standard regression test.
|
||||
# To run it manually, run Lib/test/test_socketserver.py.
|
||||
|
||||
__version__ = "0.4"
|
||||
|
||||
|
||||
|
@ -750,9 +745,6 @@ class StreamRequestHandler(BaseRequestHandler):
|
|||
|
||||
class DatagramRequestHandler(BaseRequestHandler):
|
||||
|
||||
# XXX Regrettably, I cannot get this working on Linux;
|
||||
# s.recvfrom() doesn't return a meaningful client address.
|
||||
|
||||
"""Define self.rfile and self.wfile for datagram sockets."""
|
||||
|
||||
def setup(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue