File: 0001_gobject-transition.patch

package info (click to toggle)
gst-python1.0 1.26.10-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,076 kB
  • sloc: python: 8,120; ansic: 1,911; makefile: 33
file content (28 lines) | stat: -rw-r--r-- 1,097 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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)