From 0a15425745143c2aece646e3409c8b74c3563d99 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sat, 18 Feb 2023 09:49:03 +0100 Subject: [PATCH] Make pixelBuffer test work (hopefully) --- testdata/python/layPixelBuffer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testdata/python/layPixelBuffer.py b/testdata/python/layPixelBuffer.py index b9cba810e..6ee8c3d28 100644 --- a/testdata/python/layPixelBuffer.py +++ b/testdata/python/layPixelBuffer.py @@ -48,7 +48,7 @@ class LAYPixelBufferTests(unittest.TestCase): self.assertGreater(len(png), 20) self.assertLess(len(png), 200) pb_copy = pya.PixelBuffer.from_png_data(png) - self.assertEqual(pb, pb_copy) + self.assertEqual(compare(pb, pb_copy), True) ut_testtmp = os.getenv("TESTTMP", ".") tmp = os.path.join(ut_testtmp, "tmp.png")