aboutsummaryrefslogtreecommitdiffstats
path: root/library/python
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2024-09-04 10:05:24 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2024-09-04 10:18:19 +0300
commit31d385aefad0d8c21f3b36f304cb447757dab030 (patch)
treeb08d002dcf45fc39a1fb98540ebf47159b71a39e /library/python
parentac4dfceba1f8940d83c61577da4dde74130aee06 (diff)
downloadydb-31d385aefad0d8c21f3b36f304cb447757dab030.tar.gz
Intermediate changes
Diffstat (limited to 'library/python')
-rw-r--r--library/python/pytest/main.py4
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 = [