• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

oconnor663 / duct / 95 / 6
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 12 Nov 2015 05:38AM UTC
Files 1
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Nov 2015 05:31AM UTC coverage: 99.699% (-0.002%) from 99.701%
95.6

push

travis-ci

oconnor663
change STDOUT and STDERR to join simultaneous redirects

Previously if you did something like:

    cmd('foo').run(stdout='myfile', stderr=STDOUT)

we were interpreting that to mean that stderr should go to the *old*
stdout, rather than to myfile. That interpretation becomes especially
confusing in this case:

    cmd('bar').read(stderr=STDOUT)

Here despite appearances, stderr was not captured along with stdout. In
addition to being confusing, this was also different from how the
standard library behaves.

Instead, now we interpret stderr=STDOUT to mean stderr joins the *new*
value of stdout. The only tricky bit is that now it's not immediately
clear what setting stdout=STDERR and stderr=STDOUT at the same time
should mean. But there are only two options:

1) Make it an error.
2) Swap the old values.

Going with (2) means you can still accomplish all the funny swaps you
were able to do with the old semantics. And in the implementation, it
turns out it isn't much of a special case at all. Nice!

331 of 332 relevant lines covered (99.7%)

1.0 hits per line

Source Files on job 95.6
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 95
  • Travis Job 95.6
  • 8f3b2ccc on github
  • Prev Job for on master (#94.6)
  • Next Job for on master (#96.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc