更新 testcases.py


没有进行代码缺陷检查。可能是由于没有名称为“code-analysis”的job,请确认job名称。
状态 运行分数 作业 ID 作业名称 覆盖率
  Case4
已失败 #546931
ubuntu-16.04 short-job
case4

00:08

 
作业 步骤 失败原因
已失败
case4 Case4
$ python3 testcases.py ci_test 4
Traceback (most recent call last):
File "testcases.py", line 4, in <module>
sys.setdefaultencoding('utf-8')
AttributeError: module 'sys' has no attribute 'setdefaultencoding'
SQL Server 2019 will run as non-root by default.
This container is running as user root.
To learn more visit https://go.microsoft.com/fwlink/?linkid=2099216.
ERROR: Job failed: exit code 1