[issue2489] Patch for bugs in pty.py

Antoine Pitrou report at bugs.python.org
Sat Sep 29 22:03:48 CEST 2012


Antoine Pitrou added the comment:

The test breaks on OpenIndiana (and possibly elsewhere):
http://buildbot.python.org/all/builders/x86%20OpenIndiana%203.x/builds/4640

======================================================================
FAIL: test_spawn_returns_status (test.test_pty.PtyTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/test/test_pty.py", line 200, in test_spawn_returns_status
    status = pty.spawn([sys.executable, '-c', 'import sys; sys.exit(0)'])
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/pty.py", line 175, in spawn
    _copy(master_fd, master_read, stdin_read)
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/pty.py", line 147, in _copy
    rfds, wfds, xfds = select(fds, [], [])
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/test/test_pty.py", line 65, in handle_sig
    self.fail("isatty hung")
AssertionError: isatty hung

----------
nosy: +pitrou

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2489>
_______________________________________


More information about the Python-bugs-list mailing list