diff options
| author | orivej <[email protected]> | 2022-02-10 16:45:01 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:45:01 +0300 |
| commit | 2d37894b1b037cf24231090eda8589bbb44fb6fc (patch) | |
| tree | be835aa92c6248212e705f25388ebafcf84bc7a1 /contrib/python/pytest/py3/_pytest/debugging.py | |
| parent | 718c552901d703c502ccbefdfc3c9028d608b947 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'contrib/python/pytest/py3/_pytest/debugging.py')
| -rw-r--r-- | contrib/python/pytest/py3/_pytest/debugging.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/python/pytest/py3/_pytest/debugging.py b/contrib/python/pytest/py3/_pytest/debugging.py index aed4ba6a91f..b52840006b0 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) |
