X-Git-Url: https://jfr.im/git/yt-dlp.git/blobdiff_plain/cc52de43568d8cd58c7e2ef4e5cecf609da28a9c..42ded0a429c20ec13dc006825e1508d9a02f0ad4:/test/test_cache.py diff --git a/test/test_cache.py b/test/test_cache.py index 8c4f85387..ce1624b68 100644 --- a/test/test_cache.py +++ b/test/test_cache.py @@ -1,17 +1,15 @@ #!/usr/bin/env python3 -# coding: utf-8 - -from __future__ import unicode_literals - -import shutil # Allow direct execution import os import sys import unittest + sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) +import shutil + from test.helper import FakeYDL from yt_dlp.cache import Cache