Add test for skipped case with utf-8 message

This commit is contained in:
WooParadog 2014-04-24 10:45:39 +08:00
parent 580c8525f0
commit 0567a8ee77
1 changed files with 2 additions and 0 deletions

View File

@ -494,6 +494,8 @@ def test_unicode_issue368(testdir):
log.append_error(report)
report.longrepr = "filename", 1, ustr
log.append_skipped(report)
report.longrepr = "filename", 1, "Skipped: 卡嘣嘣"
log.append_skipped(report)
report.wasxfail = ustr
log.append_skipped(report)
log.pytest_sessionfinish()