Skip to content

Commit 34ddba1

Browse files
authored
Resgiter array_compare marker
1 parent 22095f3 commit 34ddba1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pytest_arraydiff/plugin.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,9 @@ def pytest_addoption(parser):
164164

165165

166166
def pytest_configure(config):
167-
167+
config.getini('markers').append(
168+
'array_compare: for functions using array comparison')
169+
168170
if config.getoption("--arraydiff") or config.getoption("--arraydiff-generate-path") is not None:
169171

170172
reference_dir = config.getoption("--arraydiff-reference-path")

0 commit comments

Comments
 (0)