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

urwid / urwid / 546 / 6
74%
master: 74%

Build:
DEFAULT BRANCH: master
Ran 13 Jun 2020 03:52PM UTC
Files 40
Run time 4s
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

13 Jun 2020 03:37PM UTC coverage: 76.986% (-0.007%) from 76.993%
TOXENV=pypy

push

travis-ci

tonycpsu
Find nearest approximation for 24-bit colors in 256-color AttrSpecs

Palette entries can only distinguish between "low" and "high" colors, so
there's no way for a user to specify different colors for 88, 256, and
24-bit color screens.  Prior to this change, someone wanting to specify
a 24-bit color but have their applicaiton also work when running in
256-color mode would have to maintain two different palette entries, or
do a color conversion themselves to avoid an AttrSpec error.

With this change, an AttrSpec with colors=256 will instead convert
24-bit foreground and/or background colors to the nearest color from the
256-color palette.  In most cases this is what the user will want, and
if they want to handle 256-color mode separately, they can still do so.
This just makes it easier to support both 24-bit and 8-bit color modes.

8771 of 11393 relevant lines covered (76.99%)

0.77 hits per line

Source Files on job 546.6 (TOXENV=pypy)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 529
  • Travis Job 546.6
  • 274cd8b2 on github
  • Prev Job for TOXENV=pypy on master (#541.6)
  • Next Job for TOXENV=pypy on master (#548.6)
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