diff options
| author | robot-piglet <[email protected]> | 2026-06-03 18:25:11 +0300 |
|---|---|---|
| committer | robot-piglet <[email protected]> | 2026-06-03 19:04:54 +0300 |
| commit | 39788ecfadedc4f54420727a18ab0ee272a4b5cd (patch) | |
| tree | 906165102e3d4dfe5ca730abf13229685296e075 /library/python/pytest | |
| parent | 930ad78081451d5abf6e88600102a0094a279095 (diff) | |
Intermediate changes
commit_hash:2bc5ec4168daac56ff2c51bcd7a7db66389846fa
Diffstat (limited to 'library/python/pytest')
| -rw-r--r-- | library/python/pytest/plugins/ya.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/python/pytest/plugins/ya.py b/library/python/pytest/plugins/ya.py index a42a942c39f..8cc27736ba7 100644 --- a/library/python/pytest/plugins/ya.py +++ b/library/python/pytest/plugins/ya.py @@ -988,7 +988,7 @@ class TraceReportGenerator(object): if not msg: return "" - if len(msg) > limit: + if limit > 0 and len(msg) > limit: msg = msg[:limit - 3] + "..." return msg + "[[rst]]" |
