summaryrefslogtreecommitdiffstats
path: root/library/python/testing
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2026-01-20 17:08:21 +0300
committerrobot-piglet <[email protected]>2026-01-20 17:22:07 +0300
commit539f74efc7dcbf01644e364cf505a2f8938f5368 (patch)
treef8f8e19c2a419ef77103eaebcb8854821ff082a5 /library/python/testing
parentec5be4f5b195659bc54f86b57c7af36e4cb5fb88 (diff)
Intermediate changes
commit_hash:12759d118d90f430331dabf5fad297a49675c1e0
Diffstat (limited to 'library/python/testing')
-rw-r--r--library/python/testing/yatest_common/yatest/common/runtime.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/library/python/testing/yatest_common/yatest/common/runtime.py b/library/python/testing/yatest_common/yatest/common/runtime.py
index 4f67f824328..e3013e1d4d0 100644
--- a/library/python/testing/yatest_common/yatest/common/runtime.py
+++ b/library/python/testing/yatest_common/yatest/common/runtime.py
@@ -464,14 +464,15 @@ class Context(object):
return _get_ya_plugin_instance().get_context("retry_index")
@property
- @default_value(False)
+ @default_value(None)
def sanitize(self):
"""
Detect if current test run is under sanitizer
:return: one of `None`, 'address', 'memory', 'thread', 'undefined'
"""
- return _get_ya_plugin_instance().get_context("sanitize")
+ value = _get_ya_plugin_instance().get_context("sanitize")
+ return value if value else None
@property
@default_value(lambda _: {})