Register mark used by pytester
This commit is contained in:
parent
38d687f7c7
commit
ba1fc02a9b
|
@ -68,6 +68,12 @@ def pytest_configure(config):
|
||||||
if checker.matching_platform():
|
if checker.matching_platform():
|
||||||
config.pluginmanager.register(checker)
|
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):
|
def raise_on_kwargs(kwargs):
|
||||||
if kwargs:
|
if kwargs:
|
||||||
|
|
Loading…
Reference in New Issue