From 718c552901d703c502ccbefdfc3c9028d608b947 Mon Sep 17 00:00:00 2001 From: orivej Date: Thu, 10 Feb 2022 16:44:49 +0300 Subject: Restoring authorship annotation for . Commit 1 of 2. --- contrib/python/pytest/py2/_pytest/debugging.py | 4 ++-- contrib/python/pytest/py2/ya.make | 10 +++++----- contrib/python/pytest/py3/_pytest/debugging.py | 4 ++-- contrib/python/pytest/py3/ya.make | 10 +++++----- contrib/python/pytest/ya.make | 2 +- 5 files changed, 15 insertions(+), 15 deletions(-) (limited to 'contrib/python/pytest') diff --git a/contrib/python/pytest/py2/_pytest/debugging.py b/contrib/python/pytest/py2/_pytest/debugging.py index bc114c8683f..d72c3ab1caf 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 4a4214535ca..ac01b34db10 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 b52840006b0..aed4ba6a91f 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 1d9a6034e4a..1571d05a9b8 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 e4d27ea57a1..2e73b868ecb 100644 --- a/contrib/python/pytest/ya.make +++ b/contrib/python/pytest/ya.make @@ -13,7 +13,7 @@ ENDIF() NO_LINT() END() - + RECURSE( py2 py3 -- cgit v1.3