-
Notifications
You must be signed in to change notification settings - Fork 4
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
装完依赖后,运行pytest报错 #91
Comments
这个问题是由于pytest自身的原因导致的 解决办法:
问题产生原因: python中的open方法在Window系统中使用时默认编码方式为gbk编码,读取gbk及utf-8编码的文件时均不会报错;在linux系统中使用时默认编码方式为utf-8编码这时读取gbk编码格式的文件时就会报错。 |
我找到__init__文件了,不过是改的112行。。。 |
问题已修复,可以重现pull一下。是由于在linux中分隔符只能使用/导致的,我已将yaml示例文件中的路径分隔符改为/,兼容了windows和linux系统。感谢您提出的issue。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: