Commits

Anonymous committed 9493409

Fix test

Comments (0)

Files changed (1)

test/test_socket.py

     print_name()
     ts = tsocket.socket(tsocket.AF_INET, tsocket.SOCK_STREAM)
     tr = ts.getsockopt(tsocket.IPPROTO_TCP, tsocket.TCP_NODELAY)
-    assert(1 == tr)
+    assert(tr > 0)
 
 def test_listen():
     print_name()