-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
Description
What did you do?
Run python -m pytest -v
What did you expect to happen?
All tests should pass
What actually happened?
Seven font related tests failed.
What are your OS, Python and Pillow versions?
- OS: Arch Linux
- Python: 3.13.7
- Pillow: 11.3.0.r186.gb7e0570 b7e0570
--------------------------------------------------------------------
Pillow 12.0.0.dev0
Python 3.13.7 (main, Aug 15 2025, 12:34:02) [GCC 15.2.1 20250813]
--------------------------------------------------------------------
Python executable is /build/python-pillow/src/python-pillow/test-env/bin/python3
Environment Python files loaded from /build/python-pillow/src/python-pillow/test-env
System Python files loaded from /usr
--------------------------------------------------------------------
Python Pillow modules loaded from /build/python-pillow/src/python-pillow/test-env/lib/python3.13/site-packages/PIL
Binary Pillow modules loaded from /build/python-pillow/src/python-pillow/test-env/lib/python3.13/site-packages/PIL
--------------------------------------------------------------------
--- PIL CORE support ok, compiled for 12.0.0.dev0
--- TKINTER support ok, loaded 8.6
--- FREETYPE2 support ok, loaded 2.14.1
--- LITTLECMS2 support ok, loaded 2.17
--- WEBP support ok, loaded 1.6.0
--- AVIF support ok, loaded 1.3.0
--- JPEG support ok, compiled for libjpeg-turbo 3.1.2
--- OPENJPEG (JPEG2000) support ok, loaded 2.5.3
--- ZLIB (PNG/ZIP) support ok, loaded 1.3.1
--- LIBTIFF support ok, loaded 4.7.0
--- RAQM (Bidirectional Text) support ok, loaded 0.10.3
--- LIBIMAGEQUANT (Quantization method) support ok, loaded 4.2.2
--- XCB (X protocol) support ok
--------------------------------------------------------------------
Steps to reproduce
$ git clone https://github.com/python-pillow/Pillow
$ cd Pillow
$ python -m build --wheel --no-isolation
$ python -m installer dist/*.whl
$ python -m pytest -v
....
FAILED Tests/test_imagedraw.py::test_default_font_size - Failed: got differen...
FAILED Tests/test_imagefont.py::test_colr[0] - AssertionError: average pixel...
FAILED Tests/test_imagefont.py::test_colr_mask[0] - AssertionError: average ...
FAILED Tests/test_imagefont.py::test_colr[1] - AssertionError: average pixel...
FAILED Tests/test_imagefont.py::test_colr_mask[1] - AssertionError: average ...
FAILED Tests/test_imagefont.py::test_default_font - Failed: got different con...
FAILED Tests/test_imagefontctl.py::test_x_max_and_y_offset - AssertionError: ...
=========== 7 failed, 4837 passed, 118 skipped, 3 xfailed in 39.08s ============
Full log of check failure python-pillow-11.3.0.r186.gb7e0570-1-x86_64-check.log.
The same failures occur with Pillow 13.3.0.