Skip to content

Commit c4b41f6

Browse files
author
ShresthSamyak
committed
test(macos): restore _core_foundation_init_failed in tear down
1 parent 8772c4f commit c4b41f6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/test_mpv.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,6 +1039,7 @@ def resolve_future():
10391039
thread.join(timeout=1.0)
10401040
mpv._core_foundation = orig_cf
10411041
mpv._cf_runloop_default_mode = orig_mode
1042+
mpv._core_foundation_init_failed = orig_cf_failed
10421043

10431044
@mock.patch('sys.platform', 'darwin')
10441045
def test_macos_wait_for_future_timeout(self):

0 commit comments

Comments
 (0)