aboutsummaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorvitja <vitja@yandex-team.com>2023-08-03 17:08:21 +0300
committervitja <vitja@yandex-team.com>2023-08-03 17:08:21 +0300
commit00834fe4a07711381989e47cb4cb12fe3be7fc36 (patch)
tree59406cb6e692a7c807406c3e39fff72ecc0c2adc /library
parentcdc30117b5c4c209f5d7b4fff46e411484f0ffd7 (diff)
downloadydb-00834fe4a07711381989e47cb4cb12fe3be7fc36.tar.gz
Fix incorrect python string warning
вызывает вот такое вот предупреждение: ``` /home/vitja/arcadia/library/python/testing/filter/filter.py:10: DeprecationWarning: invalid escape sequence '\w' PARSE_TAG_RE = re.compile("([+-]?[\w:]*)") ```
Diffstat (limited to 'library')
-rw-r--r--library/python/testing/filter/filter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/python/testing/filter/filter.py b/library/python/testing/filter/filter.py
index a1642bd052..4075c67a5a 100644
--- a/library/python/testing/filter/filter.py
+++ b/library/python/testing/filter/filter.py
@@ -7,7 +7,7 @@ import logging
logger = logging.getLogger(__name__)
TEST_SUBTEST_SEPARATOR = '::'
-PARSE_TAG_RE = re.compile("([+-]?[\w:]*)")
+PARSE_TAG_RE = re.compile(r"([+-]?[\w:]*)")
class FilterException(Exception):