diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2024-09-04 10:05:24 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2024-09-04 10:18:19 +0300 |
commit | 31d385aefad0d8c21f3b36f304cb447757dab030 (patch) | |
tree | b08d002dcf45fc39a1fb98540ebf47159b71a39e | |
parent | ac4dfceba1f8940d83c61577da4dde74130aee06 (diff) | |
download | ydb-31d385aefad0d8c21f3b36f304cb447757dab030.tar.gz |
Intermediate changes
-rw-r--r-- | library/python/pytest/main.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/library/python/pytest/main.py b/library/python/pytest/main.py index 6059ff45a3..6290ad5f65 100644 --- a/library/python/pytest/main.py +++ b/library/python/pytest/main.py @@ -48,6 +48,10 @@ def main(): m = MonkeyPatch() m.setattr(_pytest.assertion.rewrite, "AssertionRewritingHook", rewrite.AssertionRewritingHook) + # see https://st.yandex-team.ru/DEVTOOLSSUPPORT-50337 + m.setattr(_pytest.assertion.truncate, "DEFAULT_MAX_LINES", 16) + m.setattr(_pytest.assertion.truncate, "DEFAULT_MAX_CHARS", 32 * 80) + prefix = '__tests__.' test_modules = [ |