summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-03-26 14:09:46 +0100
committerjaseg <git@jaseg.de>2022-03-26 14:23:04 +0100
commita7e61c9362bf39aaede0ac049e03d6b3cf8bb729 (patch)
treecaad0cf57e4e2e93482d43f731a45f261c538f9a /tests
parent518421a1271b79bc82e1cd0555a63abf2c1a978c (diff)
downloadpython-mpv-a7e61c9362bf39aaede0ac049e03d6b3cf8bb729.tar.gz
python-mpv-a7e61c9362bf39aaede0ac049e03d6b3cf8bb729.tar.bz2
python-mpv-a7e61c9362bf39aaede0ac049e03d6b3cf8bb729.zip
Fix segmentation fault in unit tests on wayland
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test_mpv.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_mpv.py b/tests/test_mpv.py
index d47e3b1..b4bbf0d 100755
--- a/tests/test_mpv.py
+++ b/tests/test_mpv.py
@@ -113,6 +113,9 @@ class TestProperties(MpvTestCase):
# These may cause files to be created
if name in ('external-file', 'heartbeat-cmd', 'wid', 'dump-stats', 'log-file') or name.startswith('input-'):
continue
+ # Caues segmentation faults on wayland
+ if name in ('current-window-scale',):
+ continue
name = name.replace('-', '_')
old_canaries = check_canaries()
with self.subTest(property_name=name), self.swallow_mpv_errors([