aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_post_hooks.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_post_hooks.py')
-rw-r--r--test/test_post_hooks.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_post_hooks.py b/test/test_post_hooks.py
index 020203f2f..e84a08f29 100644
--- a/test/test_post_hooks.py
+++ b/test/test_post_hooks.py
@@ -2,9 +2,11 @@
import os
import sys
import unittest
+
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
-from test.helper import get_params, try_rm, is_download_test
+from test.helper import get_params, is_download_test, try_rm
+
import yt_dlp.YoutubeDL
from yt_dlp.utils import DownloadError