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

rm-hull / luma.emulator / 18615341135 / 1
75%
master: 75%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 18 Oct 2025 12:07PM UTC
Files 5
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

18 Oct 2025 12:02PM UTC coverage: 75.0%. Remained the same
18615341135.1

push

github

web-flow
luma.emulator.device.asciiart: fix compatibility with Pillow ≥ 10 (#68)

This accounts for two interface removals in Pillow 10:

[Font size and offset
methods](https://pillow.readthedocs.io/en/stable/deprecations.html#font-size-and-offset-methods).
`PIL.ImageFont.ImageFont.getsize` was deprecated in [Pillow
3c0b8763abb2](https://github.com/python-pillow/Pillow/commit/3c0b8763a)
(9.2.0, 2022-07-01) and removed in [Pillow
b2301d70d104](https://github.com/python-pillow/Pillow/commit/b2301d70d)
(10.0.0, 2023-07-01). `PIL.ImageFont.ImageFont.getbbox`, available since
[Pillow
c854bf8d1c05](https://github.com/python-pillow/Pillow/commit/c854bf8d1)
(9.2.0, 2022-07-01), can be used as the basis for a replacement. Note
that since [Pillow
1e5aa21fa8ad](https://github.com/python-pillow/Pillow/commit/1e5aa21fa)
(10.1.0, 2023-10-25), `PIL.ImageFont.load_default` may load a
`PIL.ImageFont.FreeTypeFont` instead of `PIL.ImageFont.ImageFont`, but
`FreeTypeFont` has supported `getbbox` for even longer, since [Pillow
395aa946a9f1](https://github.com/python-pillow/Pillow/commit/395aa946a)
(8.0.0, 2020-10-04).

[Constants](https://pillow.readthedocs.io/en/stable/deprecations.html#constants).
`PIL.Image.ANTIALIAS` was deprecated in [Pillow
ed8073e846dd](https://github.com/python-pillow/Pillow/commit/ed8073e84)
(9.1.0, 2022-04-01) and removed in [Pillow
c8ec15980b00](https://github.com/python-pillow/Pillow/commit/c8ec15980)
(10.0.0, 2023-07-01). `PIL.Image.Resampling.LANCZOS`, available since
[Pillow
f8e4e9c2dd94](https://github.com/python-pillow/Pillow/commit/f8e4e9c2d)
(9.1.0, 2022-04-01), is a direct replacement. This was previously
addressed for `luma.emulator.device.asciiblock` in
[dae670a8e8a9](https://github.com/rm-hull/luma... (continued)

222 of 296 relevant lines covered (75.0%)

4.49 hits per line

Source Files on job 18615341135.1
  • Tree
  • List 5
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 18615341135
  • d81ddd90 on github
  • Prev Job for on main (#11661046046.1)
  • Next Job for on main (#18619705571.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