Skip to content

Commit ba1fc02

Browse files
committed
Register mark used by pytester
1 parent 38d687f commit ba1fc02

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/_pytest/pytester.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ def pytest_configure(config):
6868
if checker.matching_platform():
6969
config.pluginmanager.register(checker)
7070

71+
config.addinivalue_line(
72+
"markers",
73+
"pytester_example_path(*path_segments): join the given path "
74+
"segments to `pytester_example_dir` for this test.",
75+
)
76+
7177

7278
def raise_on_kwargs(kwargs):
7379
if kwargs:

0 commit comments

Comments
 (0)