From b2dc10a1fdff58e5e27aeae7e67281ab6fcf7cde Mon Sep 17 00:00:00 2001 From: Samuel Abels Date: Mon, 27 Mar 2017 15:38:50 +0200 Subject: [PATCH] another fix for ttytest --- tests/Exscript/util/ttyTest.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/Exscript/util/ttyTest.py b/tests/Exscript/util/ttyTest.py index b5a84c96..a3f95c3d 100644 --- a/tests/Exscript/util/ttyTest.py +++ b/tests/Exscript/util/ttyTest.py @@ -58,8 +58,7 @@ def testGetTerminalSize(self): # If the stty program exists, it should be used. os.environ['PATH'] = oldpath try: - with Popen(['stty', 'size'], stdout=PIPE, stderr=PIPE, - close_fds=True): + with Popen(['stty', 'size'], stdout=PIPE, stderr=PIPE): self.assertNotEqual(get_terminal_size(), (1000, 1000)) self.assertNotEqual(get_terminal_size(10, 10), (1000, 1000)) except OSError: