aboutsummaryrefslogtreecommitdiffstats
path: root/library/python/pytest
diff options
context:
space:
mode:
authorprettyboy <prettyboy@yandex-team.com>2023-09-25 14:32:40 +0300
committerprettyboy <prettyboy@yandex-team.com>2023-09-25 16:25:48 +0300
commit33b9092c54b31f96b7077623d6323c0bdab0c1c5 (patch)
tree5d46827175b08fa960fe0702370bc2eed9204a53 /library/python/pytest
parentc0f6b17889587c4095679e2703d2b750582f9cfd (diff)
downloadydb-33b9092c54b31f96b7077623d6323c0bdab0c1c5.tar.gz
[library/python/pytest/plugins] Suppress PLR1727
Diffstat (limited to 'library/python/pytest')
-rw-r--r--library/python/pytest/plugins/ya.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/python/pytest/plugins/ya.py b/library/python/pytest/plugins/ya.py
index a02ef6852e..191d29d76e 100644
--- a/library/python/pytest/plugins/ya.py
+++ b/library/python/pytest/plugins/ya.py
@@ -825,7 +825,7 @@ class TraceReportGenerator(object):
'subtest': subtest_name,
}
# Enable when CI is ready, see YA-465
- if False and test_item.location:
+ if False and test_item.location: # noqa PLR1727
message['path'] = test_item.location
if test_item.nodeid in pytest_config.test_logs:
message['logs'] = pytest_config.test_logs[test_item.nodeid]
@@ -861,7 +861,7 @@ class TraceReportGenerator(object):
'tags': _get_item_tags(test_item),
}
# Enable when CI is ready, see YA-465
- if False and test_item.location:
+ if False and test_item.location: # noqa PLR1727
message['path'] = test_item.location
if test_item.nodeid in pytest_config.test_logs:
message['logs'] = pytest_config.test_logs[test_item.nodeid]