Note that for the failing 'terminal_width()' test, there is one more bit of intrigue. Namely doing: bzr selftest --subunit | tee ,,text-file.txt
Makes the test pass, because then it *doesn't* have a stdout to check. However just running bzr selftest
Without redirecting the output fails.
This will mean that buildbots, etc won't catch this sort of failure, since they will always be redirecting the output to a file.
Note that for the failing 'terminal_width()' test, there is one more bit of intrigue. Namely doing:
bzr selftest --subunit | tee ,,text-file.txt
Makes the test pass, because then it *doesn't* have a stdout to check. However just running
bzr selftest
Without redirecting the output fails.
This will mean that buildbots, etc won't catch this sort of failure, since they will always be redirecting the output to a file.