Ticket #2405 (closed defect: fixed)
Various tests require stderr behavior CPython cannot and will not provide
| Reported by: | exarkun | Owned by: | exarkun |
|---|---|---|---|
| Priority: | highest | Milestone: | |
| Component: | core | Keywords: | |
| Cc: | Branch: | ||
| Author: | Launchpad Bug: |
Description
It is basically impossible for a CPython program to completely control its stderr output. Tests which rely on this cannot be made to pass reliably.
Some tests which cannot deal with bytes on stderr:
twisted.test.test_unix.UnixSocketTestCase.testUncleanServerSocketLocking twisted.test.test_unix.UnixSocketTestCase.testUncleanSocketLockingFromThePerspectiveOfAClientConnectingToTheDeadServerSocket twisted.test.test_stdio.StandardInputOutputTestCase.testHostAndPeer twisted.test.test_stdio.StandardInputOutputTestCase.testWriteSequence twisted.test.test_stdio.StandardInputOutputTestCase.testWrite twisted.test.test_stdio.StandardInputOutputTestCase.testLoseConnection twisted.test.test_stdio.StandardInputOutputTestCase.testConsumer twisted.test.test_stdio.StandardInputOutputTestCase.testProducer twisted.test.test_util.GetPasswordTest.test_stdin
There may be others.
