doctests use the wrong terminal width
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned |
Bug Description
While running selftests, it seems that the DocTest adapter uses the wrong width for the terminal. I'm guessing it is using the raw 'terminal_width' as its cutoff point, when it should use 'terminal_width -1'. This is what I see:
$ bzr selftest
/ [1/24114 in 0s] bzrlib.
- [1/24114 in 0s] bzrlib.
\ [1/24114 in 0s] bzrlib.
| [1/24114 in 0s] bzrlib.
/ [1/24114 in 0s] bzrlib.
[87/24114 in 37s] blackbox.
Note that the blackbox tests seem to be properly truncated (so as to not cause accidental wrap) but the DocFileTest cases all cause an artificial line-feed.
Changed in bzr: | |
importance: | Undecided → Low |
tags: | added: check-for-breezy |