File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ def test_node_direct_construction_deprecated() -> None:
2424 with pytest .raises (
2525 OutcomeException ,
2626 match = (
27- r"Direct construction of _pytest.nodes.Node has been deprecated, please "
28- r"use _pytest.nodes.Node.from_parent.\nSee "
29- r"https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent"
30- r" for more details."
27+ r"Direct construction of _pytest\ .nodes\ .Node has been deprecated, please "
28+ r"use _pytest\ .nodes\ .Node\ .from_parent.\nSee "
29+ r"https://docs\ .pytest\ .org/en/stable/deprecations\ .html#node-construction-changed-to-node-from-parent"
30+ r" for more details\ ."
3131 ),
3232 ):
3333 nodes .Node (None , session = None ) # type: ignore[arg-type]
Original file line number Diff line number Diff line change @@ -799,7 +799,7 @@ def test_pytester_makefile_dot_prefixes_extension_with_warning(
799799) -> None :
800800 with pytest .raises (
801801 ValueError ,
802- match = r"pytester.makefile expects a file extension, try .foo.bar instead of foo.bar" ,
802+ match = r"pytester\ .makefile expects a file extension, try \ .foo\ .bar instead of foo\ .bar" ,
803803 ):
804804 pytester .makefile ("foo.bar" , "" )
805805
You can’t perform that action at this time.
0 commit comments