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

urwid / urwid / 546 / 3
74%
master: 74%

Build:
DEFAULT BRANCH: master
Ran 13 Jun 2020 03:49PM UTC
Files 40
Run time 3s
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.453% (-0.008%) from 77.461%
TOXENV=py36

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.

8729 of 11270 relevant lines covered (77.45%)

0.77 hits per line

Source Files on job 546.3 (TOXENV=py36)
  • 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.3
  • 274cd8b2 on github
  • Prev Job for TOXENV=py36 on master (#541.3)
  • Next Job for TOXENV=py36 on master (#548.3)
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