File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,8 @@ async def test_anything():
6161 result .assert_outcomes (errors = 1 )
6262 result .stdout .fnmatch_lines (
6363 [
64- "*ValueError: mark.asyncio accepts only keyword arguments 'loop_scope', 'loop_factory'*"
64+ "*ValueError: mark.asyncio accepts only a keyword arguments "
65+ "'loop_scope' or 'loop_factory'*"
6566 ]
6667 )
6768
@@ -84,6 +85,7 @@ async def test_anything():
8485 result .assert_outcomes (errors = 1 )
8586 result .stdout .fnmatch_lines (
8687 [
87- "*ValueError: mark.asyncio accepts only keyword arguments 'loop_scope', 'loop_factory'*"
88+ "*ValueError: mark.asyncio accepts only a keyword arguments "
89+ "'loop_scope' or 'loop_factory'*"
8890 ]
8991 )
Original file line number Diff line number Diff line change @@ -163,10 +163,7 @@ async def test_anything(any_fixture):
163163 result .stdout .fnmatch_lines (
164164 [
165165 "*warnings summary*" ,
166- (
167- "test_strict_mode_marked_test_unmarked_fixture_warning.py::"
168- "test_anything"
169- ),
166+ ("test_strict_mode_marked_test_unmarked_fixture_warning.py::test_anything" ),
170167 (
171168 "*/pytest_asyncio/plugin.py:*: PytestDeprecationWarning: "
172169 "asyncio test 'test_anything' requested async "
You can’t perform that action at this time.
0 commit comments