未验证 提交 e26957c4 编写于 作者: Y Yibing Liu 提交者: GitHub

Fix test of send and recv (#122)

上级 9095d4f7
...@@ -80,8 +80,8 @@ def run(args): ...@@ -80,8 +80,8 @@ def run(args):
student.start() student.start()
if args.test_send_recv: if args.test_send_recv:
for t in xrange(2): for t in range(2):
for i in xrange(3): for i in range(3):
print(student.recv(t)) print(student.recv(t))
student.send("message from student!") student.send("message from student!")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册