aboutsummaryrefslogtreecommitdiffstats
path: root/library/python/pytest
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2024-11-07 12:23:36 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2024-11-07 13:24:08 +0300
commita454f5fbc2c79ea1f8e9ca584d888a57f535c8f3 (patch)
treef6f4c048c1a1388d005bcf5996285ddcaedb1ba7 /library/python/pytest
parenta74a901e7cd8f6eeab88e728e48c22e0de2f9a0f (diff)
downloadydb-a454f5fbc2c79ea1f8e9ca584d888a57f535c8f3.tar.gz
Intermediate changes
commit_hash:8dfe46ba3b02673d0e6a35fdf824ab2c98255393
Diffstat (limited to 'library/python/pytest')
-rw-r--r--library/python/pytest/yatest_tools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/python/pytest/yatest_tools.py b/library/python/pytest/yatest_tools.py
index 1f3b6da655..cc4091c31b 100644
--- a/library/python/pytest/yatest_tools.py
+++ b/library/python/pytest/yatest_tools.py
@@ -259,7 +259,7 @@ def normalize_filename(filename):
:param some_string: string to be converted to a valid file name
:return: valid file name
"""
- not_allowed_pattern = r"[\[\]\/:*?\"\'<>|+\0\\\s\x0b\x0c]"
+ not_allowed_pattern = r"[\(\)\[\]\/:*?\"\'<>|+\0\\\s\x0b\x0c]"
filename = re.sub(not_allowed_pattern, ".", filename)
return re.sub(r"\.{2,}", ".", filename)