[New-bugs-announce] [issue29070] Integration tests for pty.spawn on Linux and all other platforms

Cornelius Diekmann report at bugs.python.org
Sun Dec 25 11:43:45 EST 2016


New submission from Cornelius Diekmann:

As Martin Panter noted, "it doesn’t look like pty.spawn() is tested at all" [issue26228]. So I wrote some very basic integration tests for pty.spawn.

They work perfectly on my Linux machine. Line 4 of the library module under test (pty.py) states: "Only tested on Linux." I don't like this comment ;-)

There are two possibilities how to proceed from here:
1) The tests work perfectly on all other platforms: then we can remove this comment from pty.py.
2) The tests fail on other platforms: then we can finally document where this module is expected to work and where not.

In either case, I need some help by non-Linux users to run theses tests and document their success/failure and whether we have a bug on the specific platform (i.e. pty.spawn should work but does not) or whether the tests should be skipped (i.e. platform does not support ptys at all).

It would be really awesome if some *BSD and Windows users would join the nosy list :-)

Happy Holidays!

----------
components: Cross-Build, Tests
files: PtyLinuxIntegrtionTest.patch
keywords: patch
messages: 284003
nosy: Alex.Willmer, Cornelius Diekmann, chris.torek, martin.panter
priority: normal
severity: normal
status: open
title: Integration tests for pty.spawn on Linux and all other platforms
type: enhancement
versions: Python 3.7
Added file: http://bugs.python.org/file46035/PtyLinuxIntegrtionTest.patch

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


More information about the New-bugs-announce mailing list