diff options
author | vitja <vitja@yandex-team.com> | 2023-08-03 17:08:21 +0300 |
---|---|---|
committer | vitja <vitja@yandex-team.com> | 2023-08-03 17:08:21 +0300 |
commit | 00834fe4a07711381989e47cb4cb12fe3be7fc36 (patch) | |
tree | 59406cb6e692a7c807406c3e39fff72ecc0c2adc /library/python | |
parent | cdc30117b5c4c209f5d7b4fff46e411484f0ffd7 (diff) | |
download | ydb-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/python')
-rw-r--r-- | library/python/testing/filter/filter.py | 2 |
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): |