Add test for skipped case with utf-8 message
This commit is contained in:
parent
580c8525f0
commit
0567a8ee77
|
@ -494,6 +494,8 @@ def test_unicode_issue368(testdir):
|
||||||
log.append_error(report)
|
log.append_error(report)
|
||||||
report.longrepr = "filename", 1, ustr
|
report.longrepr = "filename", 1, ustr
|
||||||
log.append_skipped(report)
|
log.append_skipped(report)
|
||||||
|
report.longrepr = "filename", 1, "Skipped: 卡嘣嘣"
|
||||||
|
log.append_skipped(report)
|
||||||
report.wasxfail = ustr
|
report.wasxfail = ustr
|
||||||
log.append_skipped(report)
|
log.append_skipped(report)
|
||||||
log.pytest_sessionfinish()
|
log.pytest_sessionfinish()
|
||||||
|
|
Loading…
Reference in New Issue