Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests fail with Pillow 10.1.0 #103

Open
doko42 opened this issue Nov 24, 2023 · 2 comments
Open

tests fail with Pillow 10.1.0 #103

doko42 opened this issue Nov 24, 2023 · 2 comments

Comments

@doko42
Copy link

doko42 commented Nov 24, 2023

seen with Pillow 10.1.0:

27s ======================================================================
27s FAIL: test_image (tests.test_image.ImageTest.test_image)
27s ----------------------------------------------------------------------
27s Traceback (most recent call last):
27s File
"/tmp/autopkgtest-lxc.0vs2cq8a/downtmp/build.pRi/src/tests/test_image.py", line
130, in test_image
27s self.assertFalse(
27s AssertionError: (10, 12, 403, 742) is not false : The resulting image is
different from test_image.png
27s
27s ======================================================================
27s FAIL: test_image
(tests.test_boundingbox_image.BoundingBoxImageTest.test_image)
27s ----------------------------------------------------------------------
27s Traceback (most recent call last):
27s File
"/tmp/autopkgtest-lxc.0vs2cq8a/downtmp/build.pRi/src/tests/test_boundingbox_image.py",
line 139, in test_image
27s self.assertFalse(
27s AssertionError: (10, 12, 391, 742) is not false : The resulting image is
different from test_boundingbox_image.png
27s
27s ----------------------------------------------------------------------
27s Ran 46 tests in 0.751s
27s
27s FAILED (failures=2)
27s Test failed: <unittest.runner.TextTestResult run=46 errors=0 failures=2>
27s error: Test failed: <unittest.runner.TextTestResult run=46 errors=0
failures=2>

@regebro
Copy link
Owner

regebro commented Nov 24, 2023

OK, I'll check. But those tests require the output to be pixel-perfect, so on different operating systems and with different fonts it may fail, and that's OK. :-D

@bdrung
Copy link

bdrung commented Dec 15, 2023

This is the approach I took for the Debian package: #105

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants