diff options
author | jaseg <code@jaseg.net> | 2020-07-15 21:21:40 +0200 |
---|---|---|
committer | jaseg <code@jaseg.net> | 2020-07-15 22:03:37 +0200 |
commit | b54d5f55210b720266704dc4437c3598cc58680f (patch) | |
tree | efbbd081fb2720d18f35c7b20a06f67fd8790d43 | |
parent | e6abadec7e00505eea9a91578f2d63939ce9a56c (diff) | |
download | python-mpv-b54d5f55210b720266704dc4437c3598cc58680f.tar.gz python-mpv-b54d5f55210b720266704dc4437c3598cc58680f.tar.bz2 python-mpv-b54d5f55210b720266704dc4437c3598cc58680f.zip |
tests: Fix test_write for segaults in libmpv (#108)
-rwxr-xr-x | mpv-test.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mpv-test.py b/mpv-test.py index 031b806..5123dc3 100755 --- a/mpv-test.py +++ b/mpv-test.py @@ -106,6 +106,10 @@ class TestProperties(MpvTestCase): time.sleep(0.05) check_canaries = lambda: os.path.exists('100') or os.path.exists('foo') for name in sorted(self.m.property_list): + # See issue #108 and upstream mpv issues #7919 and #7920. + if name in ('demuxer', 'audio-demuxer', 'audio-files'): + continue + # These may cause files to be created if name in ('external-file', 'heartbeat-cmd', 'wid', 'dump-stats', 'log-file') or name.startswith('input-'): continue name = name.replace('-', '_') |