aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/pytest
diff options
context:
space:
mode:
authororivej <orivej@yandex-team.ru>2022-02-10 16:45:01 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:01 +0300
commit2d37894b1b037cf24231090eda8589bbb44fb6fc (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /contrib/python/pytest
parent718c552901d703c502ccbefdfc3c9028d608b947 (diff)
downloadydb-2d37894b1b037cf24231090eda8589bbb44fb6fc.tar.gz
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/python/pytest')
-rw-r--r--contrib/python/pytest/py2/_pytest/debugging.py4
-rw-r--r--contrib/python/pytest/py2/ya.make10
-rw-r--r--contrib/python/pytest/py3/_pytest/debugging.py4
-rw-r--r--contrib/python/pytest/py3/ya.make10
-rw-r--r--contrib/python/pytest/ya.make2
5 files changed, 15 insertions, 15 deletions
diff --git a/contrib/python/pytest/py2/_pytest/debugging.py b/contrib/python/pytest/py2/_pytest/debugging.py
index d72c3ab1ca..bc114c8683 100644
--- a/contrib/python/pytest/py2/_pytest/debugging.py
+++ b/contrib/python/pytest/py2/_pytest/debugging.py
@@ -37,11 +37,11 @@ def tty():
if os.isatty(1):
return
- fd = os.open('/dev/tty', os.O_RDWR)
+ fd = os.open('/dev/tty', os.O_RDWR)
os.dup2(fd, 0)
os.dup2(fd, 1)
os.dup2(fd, 2)
- os.close(fd)
+ os.close(fd)
old_sys_path = sys.path
sys.path = list(sys.path)
diff --git a/contrib/python/pytest/py2/ya.make b/contrib/python/pytest/py2/ya.make
index ac01b34db1..4a4214535c 100644
--- a/contrib/python/pytest/py2/ya.make
+++ b/contrib/python/pytest/py2/ya.make
@@ -24,11 +24,11 @@ PEERDIR(
NO_LINT()
-NO_CHECK_IMPORTS(
- __tests__.* # all test modules get imported when tests are run
- _pytest.*
-)
-
+NO_CHECK_IMPORTS(
+ __tests__.* # all test modules get imported when tests are run
+ _pytest.*
+)
+
PY_SRCS(
TOP_LEVEL
_pytest/__init__.py
diff --git a/contrib/python/pytest/py3/_pytest/debugging.py b/contrib/python/pytest/py3/_pytest/debugging.py
index aed4ba6a91..b52840006b 100644
--- a/contrib/python/pytest/py3/_pytest/debugging.py
+++ b/contrib/python/pytest/py3/_pytest/debugging.py
@@ -52,11 +52,11 @@ def tty():
if os.isatty(1):
return
- fd = os.open('/dev/tty', os.O_RDWR)
+ fd = os.open('/dev/tty', os.O_RDWR)
os.dup2(fd, 0)
os.dup2(fd, 1)
os.dup2(fd, 2)
- os.close(fd)
+ os.close(fd)
old_sys_path = sys.path
sys.path = list(sys.path)
diff --git a/contrib/python/pytest/py3/ya.make b/contrib/python/pytest/py3/ya.make
index 1571d05a9b..1d9a6034e4 100644
--- a/contrib/python/pytest/py3/ya.make
+++ b/contrib/python/pytest/py3/ya.make
@@ -23,11 +23,11 @@ ENDIF()
NO_LINT()
-NO_CHECK_IMPORTS(
- __tests__.* # all test modules get imported when tests are run
- _pytest.*
-)
-
+NO_CHECK_IMPORTS(
+ __tests__.* # all test modules get imported when tests are run
+ _pytest.*
+)
+
PY_SRCS(
TOP_LEVEL
_pytest/__init__.py
diff --git a/contrib/python/pytest/ya.make b/contrib/python/pytest/ya.make
index 2e73b868ec..e4d27ea57a 100644
--- a/contrib/python/pytest/ya.make
+++ b/contrib/python/pytest/ya.make
@@ -13,7 +13,7 @@ ENDIF()
NO_LINT()
END()
-
+
RECURSE(
py2
py3