aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_cache.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_cache.py')
-rw-r--r--test/test_cache.py8
1 files changed, 3 insertions, 5 deletions
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