We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfbef56 commit 7623741Copy full SHA for 7623741
conftest.py
@@ -120,8 +120,15 @@ def pytest_collection_modifyitems(config, items):
120
mark.skip(reason="disabled via --disable-data-dependent-shapes")
121
)
122
break
123
- # skip if test not appropiate for CI
+ # skip if test not appropriate for CI
124
if ci:
125
ci_mark = next((m for m in markers if m.name == "ci"), None)
126
if ci_mark is None:
127
item.add_marker(mark.skip(reason="disabled via --ci"))
128
+
129
+@mark.optionalhook
130
+def pytest_metadata(metadata):
131
+ """
132
+ Additional metadata for --json-report.
133
134
+ metadata['array_api_tests_module'] = xp.mod_name
0 commit comments