aboutsummaryrefslogtreecommitdiffstats
path: root/library/python/testing/yatest_lib/tools.py
diff options
context:
space:
mode:
authorDmitry Kopylov <kopylovd@gmail.com>2022-02-10 16:48:18 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:18 +0300
commitb2f5101486cc0de2e979c8ba9ada2109785bf5fd (patch)
treeaffe28b840816b505db0467f2285b01c89c04247 /library/python/testing/yatest_lib/tools.py
parente9b28b5aad71453a4637b70dde02e801e4147a2a (diff)
downloadydb-b2f5101486cc0de2e979c8ba9ada2109785bf5fd.tar.gz
Restoring authorship annotation for Dmitry Kopylov <kopylovd@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'library/python/testing/yatest_lib/tools.py')
-rw-r--r--library/python/testing/yatest_lib/tools.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/library/python/testing/yatest_lib/tools.py b/library/python/testing/yatest_lib/tools.py
index b72d79c162..602eaeefcc 100644
--- a/library/python/testing/yatest_lib/tools.py
+++ b/library/python/testing/yatest_lib/tools.py
@@ -1,13 +1,13 @@
import six
import sys
+
-
-def to_utf8(value):
- """
- Converts value to string encoded into utf-8
- :param value:
- :return:
- """
+def to_utf8(value):
+ """
+ Converts value to string encoded into utf-8
+ :param value:
+ :return:
+ """
if sys.version_info[0] < 3:
if not isinstance(value, basestring): # noqa
value = unicode(value) # noqa