Skip to content

Commit 8dd5ae7

Browse files
committed
no unicode for Windows pydoc
1 parent c06d038 commit 8dd5ae7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_pytest/python_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ def raises( # noqa: F811
580580
(This is only used when ``pytest.raises`` is used as a context manager,
581581
and passed through to the function otherwise.
582582
When using ``pytest.raises`` as a function, you can use:
583-
``pytest.raises(Exc, func, ).match("my pattern")``.)
583+
``pytest.raises(Exc, func, match="passed on").match("my pattern")``.)
584584
585585
__ https://docs.python.org/3/library/re.html#regular-expression-syntax
586586

0 commit comments

Comments
 (0)