From 8893c1c05781a4a40cde9fab2e9b1c1facc5aa15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 1 Jan 2026 16:39:46 +0100 Subject: [PATCH] python: skip a test for operation that can't be made legal at the moment. --- src/python/magnum/test/test.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/python/magnum/test/test.py b/src/python/magnum/test/test.py index aa1a565..a126b0a 100644 --- a/src/python/magnum/test/test.py +++ b/src/python/magnum/test/test.py @@ -590,10 +590,13 @@ class CompressedImageView(unittest.TestCase): # TODO adapt from ImageView.test_init_image pass + @unittest.skip("No way to create a CompressedImage with valid format at the moment") def test_init_image_empty(self): a = CompressedImage2D() a_refcount = sys.getrefcount(a) + # TODO this blows up inside Magnum because the block size of `a` is + # invalid view = CompressedImageView2D(a) self.assertEqual(view.size, (0, 0)) self.assertIs(view.owner, None)