提交 b07bd93e 编写于 作者: O openeuler-ci-bot 提交者: Gitee

!22 Add the feature of selecting multiple options at a time

Merge pull request !22 from cuixucui/master
......@@ -353,16 +353,16 @@ class EulerCertification():
test["run"] = True
continue
# num_lst = reply.split(" ")
# for num in num_lst:
try:
num = int(reply)
except:
continue
num_lst = reply.split(" ")
for num in num_lst:
try:
num = int(num)
except:
continue
if num > 0 and num <= len(self.test_factory):
self.test_factory[num - 1]["run"] = not self.test_factory[num - 1]["run"]
continue
if num > 0 and num <= len(self.test_factory):
self.test_factory[num - 1]["run"] = not self.test_factory[num - 1]["run"]
continue
def show_tests(self):
"""
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册