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

urwid / urwid / 546 / 2
74%
master: 74%

Build:
DEFAULT BRANCH: master
Ran 13 Jun 2020 03:50PM 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: 77.409% (-0.05%) from 77.461%
TOXENV=py35

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.

8724 of 11270 relevant lines covered (77.41%)

0.77 hits per line

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