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

psf / black / 1221 / 3
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 27 Sep 2020 09:43PM UTC
Files 8
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

27 Sep 2020 09:41PM UTC coverage: 95.271%. Remained the same
TEST_CMD="coverage run -m unittest"

push

travis-ci-com

web-flow
Repair colorama wrapping on non-Windows platforms (#1670)

* Repair colorama wrapping on non-Windows platforms

The wrap_stream_for_windows() function calls
colorama.initialise.wrap_stream() function to apply colorama's magic to
wrapper to the output stream. Except this wrapper is only applied on
Windows platforms that need it, otherwise the original stream is
returned as-is.

The colorama wrapped stream lacks a detach() method, so a no-op lambda
was being assigned to the wrapped stream.

The problem is that the no-op lambda was being assigned unconditionally
whether or not colorama actually returns a wrapped stream, thus
replacing the original TextIOWrapper's detach() method. Replacing the
detach() method with a no-op lambda is the root cause of the problem
observed in #1664.

The solution is to only assign the no-op detach() method if the stream
lacks its own detach() method.

Repairs #1664

4815 of 5054 relevant lines covered (95.27%)

0.95 hits per line

Source Files on job 1221.3 (TEST_CMD="coverage run -m unittest")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1781
  • Travis Job 1221.3
  • 4d71d74a on github
  • Prev Job for TEST_CMD="coverage run -m unittest" on master (#2181.2)
  • Next Job for TEST_CMD="coverage run -m unittest" on master (#1222.2)
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