Author: Richard Plangger <[email protected]>
Branch: strbuf-as-buffer
Changeset: r88973:b6249f4e3a0f
Date: 2016-12-08 15:22 +0100
http://bitbucket.org/pypy/pypy/changeset/b6249f4e3a0f/

Log:    modify test to specify length of sendto's first argument

diff --git a/rpython/rlib/test/test_rsocket.py 
b/rpython/rlib/test/test_rsocket.py
--- a/rpython/rlib/test/test_rsocket.py
+++ b/rpython/rlib/test/test_rsocket.py
@@ -320,7 +320,7 @@
     s2.bind(INETAddress('127.0.0.1', INADDR_ANY))
     addr2 = s2.getsockname()
 
-    s1.sendto('?', 0, addr2)
+    s1.sendto('?', 1, 0, addr2)
     buf = s2.recv(100)
     assert buf == '?'
     s2.connect(addr)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to