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 775d25b commit f356ffdCopy full SHA for f356ffd
conftest.py
@@ -126,3 +126,8 @@ def pytest_collection_modifyitems(config, items):
126
ci_mark = next((m for m in markers if m.name == "ci"), None)
127
if ci_mark is None:
128
item.add_marker(mark.skip(reason="disabled via --ci"))
129
+
130
+ # Avoid long tracebacks for the JSON report, which make the file too
131
+ # large.
132
+ if config.getoption('--json-report'):
133
+ config.option.tbstyle = 'native'
0 commit comments