Source: python-mpv
Version: 0.5.2-2
tags: patch

Hello, FYI I committed a patch from Ubuntu (now part of upstream codebase) to 
fix a flaky test on ppc64el and mpv 0.33.1+

--- /dev/null
+++ b/debian/patches/test_property_observer_decorator-bump-sleep.patch
@@ -0,0 +1,23 @@
+From: Paride Legovini <[email protected]>
+Description: test_property_observer_decorator: bump sleep to 0.1s
+ Fixes flaky test with mpv 0.33.1 on ppc64el.
+Bug: https://github.com/jaseg/python-mpv/issues/178
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/mpv/+bug/1945332
+Forwarded: https://github.com/jaseg/python-mpv/pull/179
+---
+ tests/test_mpv.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/test_mpv.py b/tests/test_mpv.py
+index b9120c0..d47e3b1 100755
+--- a/tests/test_mpv.py
++++ b/tests/test_mpv.py
+@@ -292,7 +292,7 @@ def foo(*args, **kwargs):
+         self.assertEqual(m.mute, True)
+         self.assertEqual(m.slang, ['ru'])
+ 
+-        time.sleep(0.05)
++        time.sleep(0.1)
+         foo.unobserve_mpv_properties()
+ 
+         m.mute = False


Please include on next release if possible (on next upstream release it will be 
already part of upstream codebase I think)

thanks,

Gianfranco

Reply via email to