Skip to content

Commit

Permalink
Register mark used by pytester
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac-HD committed Mar 16, 2019
1 parent cf064ec commit 57b32ea
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/_pytest/pytester.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ def pytest_configure(config):
if checker.matching_platform():
config.pluginmanager.register(checker)

config.addinivalue_line(
"markers",
"pytester_example_path(*path_segments): join the given path "
"segments to `pytester_example_dir` for this test.",
)


def raise_on_kwargs(kwargs):
if kwargs:
Expand Down

0 comments on commit 57b32ea

Please sign in to comment.