Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

数据查询模块bench 测试文件--binding\python\bench_test.py的一个bug #285

Open
zhangjiahuang opened this issue Jan 31, 2023 · 0 comments

Comments

@zhangjiahuang
Copy link

binding\python\bench_test.py文件的第96行代码:
if region != ps[2]:
忽略了原始IP文件中的换行符‘\r’,会导致查询测试执行失败,调试结果如下图所示:
屏幕截图 2023-01-31 211847(1)
代码修改为:
if region != ps[2].replace('\r', ''):
查询测试即可成功运行。
冒昧请教,不知可否请您@luckydog6132 确认一下该问题是否是我的个例。
谢谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant