Commit d74d6ee4 by wuddif

注释掉编码格式,防止生成报告乱码

parent 93d9709f
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# Description: # Description:
# #
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
def pytest_collection_modifyitems(items): # def pytest_collection_modifyitems(items):
for item in items: # for item in items:
item.name = item.name.encode("utf-8").decode("unicode-escape") # item.name = item.name.encode("utf-8").decode("unicode-escape")
item._nodeid = item._nodeid.encode("utf-8").decode("unicode-escape") # item._nodeid = item._nodeid.encode("utf-8").decode("unicode-escape")
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment