-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
test case name can be chinese? #2996
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
Comments
please tell me how can i do |
i recall, that using actual unicode strings is supposed to somewhat work - CC @nicoddemus |
i want testcase name in pytest-html、pytest-xml display chinese |
Unfortunately keeping unicode in the parametrized values caused all kinds of bugs (#1085) where things would just break apart, so we decided to go with the safer route and always escape ids using a safe ascii representation, even in Python 3. So @EtheriousNatsu I'm afraid we will have to close this as "working as intended". |
i want my testcase name in html report and xml report can convert to chinese. here is my system info.
platform darwin -- Python 2.7.10, pytest-3.2.3, py-1.4.34, pluggy-0.4.0 -- /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
cachedir: .cache
metadata: {'Python': '2.7.10', 'Platform': 'Darwin-16.0.0-x86_64-i386-64bit', 'Packages': {'py': '1.4.34', 'pytest': '3.2.3', 'pluggy': '0.4.0'}, 'JAVA_HOME': '/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home', 'Plugins': {'html': '1.16.0', 'metadata': '1.5.1'}}
rootdir: /Users/john/Desktop/gabbi-1.30.1, inifile:
plugins: html-1.16.0, metadata-1.5.1
The text was updated successfully, but these errors were encountered: