diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2016-12-12 02:56:09 +0100 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2016-12-12 02:56:09 +0100 |
commit | 4ce68ef999e1f8e3f37830e8123a56439652ccab (patch) | |
tree | d7558b961a714afed7a569e5ddccd2991bf4ceda | |
parent | d0d3b182f7e4d1e988bad696880bb884c54a31f6 (diff) | |
download | psutil-4ce68ef999e1f8e3f37830e8123a56439652ccab.tar.gz |
#804: try to test failure on Debian
-rwxr-xr-x | psutil/tests/test_process.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psutil/tests/test_process.py b/psutil/tests/test_process.py index b0176083..1a95bc19 100755 --- a/psutil/tests/test_process.py +++ b/psutil/tests/test_process.py @@ -302,7 +302,7 @@ class TestProcess(unittest.TestCase): @unittest.skipIf(TRAVIS, 'not reliable on TRAVIS') def test_terminal(self): terminal = psutil.Process().terminal() - if sys.stdin.isatty(): + if sys.stdin.isatty() or sys.stdout.isatty(): tty = os.path.realpath(sh('tty')) self.assertEqual(terminal, tty) else: |