summaryrefslogtreecommitdiff
path: root/dev-python/gst-python/files/gst-python-1.26.11-skip-test.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/gst-python/files/gst-python-1.26.11-skip-test.patch')
-rw-r--r--dev-python/gst-python/files/gst-python-1.26.11-skip-test.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/gst-python/files/gst-python-1.26.11-skip-test.patch b/dev-python/gst-python/files/gst-python-1.26.11-skip-test.patch
new file mode 100644
index 000000000000..00928d30d64f
--- /dev/null
+++ b/dev-python/gst-python/files/gst-python-1.26.11-skip-test.patch
@@ -0,0 +1,30 @@
+https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4772#note_3291563
+
+Description: disable tests that are broken since pygobject 3.54
+ Since pygobject 3.54, the tests are broken. With 1.28.0 on the horizon,
+ the choice is to disable the broken tests to get the version release
+ synchronised again.
+Author: Marc Leeman <marc.leeman@gmail.com>
+Forwarded: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4772
+Last-Update: 2026-01-16
+
+Index: gst-python1.0/testsuite/test_gst_init.py
+===================================================================
+--- gst-python1.0.orig/testsuite/test_gst_init.py
++++ gst-python1.0/testsuite/test_gst_init.py
+@@ -30,6 +30,7 @@ overrides_hack
+
+
+ class TestNotInitialized(TestCase):
++ @unittest.skip("Broken since pygobject 3.54")
+ def testNotInitialized(self):
+ if sys.version_info >= (3, 0):
+ assert_type = Gst.NotInitialized
+@@ -45,6 +46,7 @@ class TestNotInitialized(TestCase):
+ with self.assertRaises(assert_type):
+ Gst.ElementFactory.make("identity", None)
+
++ @unittest.skip("Broken since pygobject 3.54")
+ def testNotDeinitialized(self):
+ Gst.init(None)
+