Update line number for warning

This commit is contained in:
Anthony Sottile 2019-06-02 15:59:44 -07:00 committed by Bruno Oliveira
parent 5dcf85c17e
commit 96fd44e040
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ def test_unicode(testdir, pyfile_with_warnings):
result.stdout.fnmatch_lines(
[
"*== %s ==*" % WARNINGS_SUMMARY_HEADER,
"*test_unicode.py:8: UserWarning: \u6d4b\u8bd5*",
"*test_unicode.py:7: UserWarning: \u6d4b\u8bd5*",
"* 1 passed, 1 warnings*",
]
)