From eaeeef9c1d1bedb76fea953c332ef84d53bffe2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Fri, 2 Dec 2022 05:21:10 +0800 Subject: update from upstream --- test/test_cache.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'test/test_cache.py') diff --git a/test/test_cache.py b/test/test_cache.py index 0776e92..f366a15 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 hypervideo_dl.cache import Cache -- cgit v1.2.3