aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_text.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@gmail.com>2020-05-03 00:06:40 -0400
committerLibravatarUnit 193 <unit193@gmail.com>2020-05-03 00:06:40 -0400
commit90e50db2e3c38f523bb5195d295290b06e5cedb0 (patch)
tree4759dc0faea79f83fa5074e2d0bd82b18a9caaea /test/test_text.py
parentd5b96ce44b7809f5ae01e3e9d70a1d58fe21ccf5 (diff)
New upstream version 1.13.6upstream/1.13.6
Diffstat (limited to 'test/test_text.py')
-rw-r--r--test/test_text.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test_text.py b/test/test_text.py
index 0390823..4f31d81 100644
--- a/test/test_text.py
+++ b/test/test_text.py
@@ -7,10 +7,14 @@
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
+import os
+import sys
import unittest
+
import datetime
-from gallery_dl import text
+sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
+from gallery_dl import text # noqa E402
INVALID = ((), [], {}, None, 1, 2.3)