未验证 提交 628fb29c 编写于 作者: Y YUNSHEN XIE 提交者: GitHub

modified the sys adress of quickly disable file (#28660)

上级 01a14e1b
......@@ -20,7 +20,11 @@ import requests
def download_file():
"""Get disabled unit tests"""
ssl._create_default_https_context = ssl._create_unverified_context
url = "https://sys-p0.bj.bcebos.com/prec/{}".format('disable_ut')
sysstr=sys.platform
if sysstr == 'win32':
url = "https://sys-p0.bj.bcebos.com/prec/{}".format('disable_ut_win')
else:
url = "https://sys-p0.bj.bcebos.com/prec/{}".format('disable_ut')
f = requests.get(url)
data = f.text
status_code = f.status_code
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册