Skip to content

Commit

Permalink
another fix for ttytest
Browse files Browse the repository at this point in the history
  • Loading branch information
knipknap committed Mar 27, 2017
1 parent dcaaf8f commit b2dc10a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/Exscript/util/ttyTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b2dc10a

Please sign in to comment.