From e26957c4a1067c7676fd4b9f8dd950e0091a78cd Mon Sep 17 00:00:00 2001 From: Yibing Liu Date: Wed, 19 Feb 2020 21:14:59 +0800 Subject: [PATCH] Fix test of send and recv (#122) --- demo/pantheon/run_student.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/pantheon/run_student.py b/demo/pantheon/run_student.py index 19d9b206..b2ede92f 100644 --- a/demo/pantheon/run_student.py +++ b/demo/pantheon/run_student.py @@ -80,8 +80,8 @@ def run(args): student.start() if args.test_send_recv: - for t in xrange(2): - for i in xrange(3): + for t in range(2): + for i in range(3): print(student.recv(t)) student.send("message from student!") -- GitLab