Author: Brian Kearns <[email protected]>
Branch: 
Changeset: r70882:31e6f79cf3eb
Date: 2014-04-23 02:26 -0400
http://bitbucket.org/pypy/pypy/changeset/31e6f79cf3eb/

Log:    try a new ip for testing timeout

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
@@ -340,12 +340,8 @@
 def test_connect_with_timeout_fail():
     s = RSocket()
     s.settimeout(0.1)
-    if sys.platform == 'win32':
-        addr = '169.254.169.254'
-    else:
-        addr = '240.240.240.240'
     with py.test.raises(SocketTimeout):
-        s.connect(INETAddress(addr, 12345))
+        s.connect(INETAddress('10.255.255.10', 12345))
     s.close()
 
 def test_connect_with_timeout_succeed():
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to