X-Git-Url: https://jfr.im/git/yt-dlp.git/blobdiff_plain/962cc3ef87ec56c59cddf51a186dc0e5c8ba9a73..7aeda6cc9e73ada0b0a0b6a6748c66bef63a20a8:/test/test_cache.py diff --git a/test/test_cache.py b/test/test_cache.py index 1167519d1..ce1624b68 100644 --- a/test/test_cache.py +++ b/test/test_cache.py @@ -1,19 +1,17 @@ -#!/usr/bin/env python -# coding: utf-8 - -from __future__ import unicode_literals - -import shutil +#!/usr/bin/env python3 # 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 youtube_dlc.cache import Cache +from yt_dlp.cache import Cache def _is_empty(d):