mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
Raise statement normalization in Lib/test/.
This commit is contained in:
parent
e0281cab81
commit
3add4d78ff
47 changed files with 218 additions and 218 deletions
|
@ -45,7 +45,7 @@ def receive(sock, n, timeout=20):
|
|||
if sock in r:
|
||||
return sock.recv(n)
|
||||
else:
|
||||
raise RuntimeError, "timed out on %r" % (sock,)
|
||||
raise RuntimeError("timed out on %r" % (sock,))
|
||||
|
||||
def testdgram(proto, addr):
|
||||
s = socket.socket(proto, socket.SOCK_DGRAM)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue