From bdd3b7bc166d6aac86b0d80791e3cc0d073daead Mon Sep 17 00:00:00 2001 From: Nicolas F Date: Thu, 8 Aug 2019 21:31:41 +0200 Subject: [PATCH] test: import relative to __init__.py Might fix tests for Debian builders somehow maybe? --- test/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/__init__.py b/test/__init__.py index eb28170..63ac2b0 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -2,5 +2,4 @@ import sys import os import os.path -sys.path.insert(0, os.getcwd()) -sys.path.insert(0, os.path.join(os.getcwd(), os.pardir)) +sys.path.insert(0, os.path.join(os.path.split(__file__)[0], '..'))