aboutsummaryrefslogtreecommitdiffstats
path: root/library/python/testing/import_test/import_test.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
commit7230275728d34873cba1ba78bb68669b0c5faa31 (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /library/python/testing/import_test/import_test.py
parentb2f5101486cc0de2e979c8ba9ada2109785bf5fd (diff)
downloadydb-7230275728d34873cba1ba78bb68669b0c5faa31.tar.gz
Restoring authorship annotation for Dmitry Kopylov <kopylovd@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'library/python/testing/import_test/import_test.py')
-rw-r--r--library/python/testing/import_test/import_test.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/python/testing/import_test/import_test.py b/library/python/testing/import_test/import_test.py
index 5b002f7aea..3e3b7234ef 100644
--- a/library/python/testing/import_test/import_test.py
+++ b/library/python/testing/import_test/import_test.py
@@ -2,7 +2,7 @@ from __future__ import print_function
import os
import re
-import sys
+import sys
import time
import traceback
@@ -65,8 +65,8 @@ def check_imports(no_check=(), extra=(), skip_func=None, py_main=None):
s = time.time()
if module == '__main__':
importer.load_module('__main__', '__main__py')
- elif module.endswith('.__init__'):
- __import__(module[:-len('.__init__')])
+ elif module.endswith('.__init__'):
+ __import__(module[:-len('.__init__')])
else:
__import__(module)