Skip to content

Commit a1ccd19

Browse files
committed
Revert "Use shorter tracebacks in the JSON report"
This reverts commit f356ffd. It doesn't actually save that much space, so let's just use the default since it has more information and it keeps the code simpler.
1 parent f356ffd commit a1ccd19

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

conftest.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,3 @@ def pytest_collection_modifyitems(config, items):
126126
ci_mark = next((m for m in markers if m.name == "ci"), None)
127127
if ci_mark is None:
128128
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

Comments
 (0)