diff --git a/tests/__init__.py b/tests/__init__.py
index <HASH>..<HASH> 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -1,8 +1,7 @@
 import os
 import sys
-
 f = os.readlink(__file__) if os.path.islink(__file__) else __file__
 path = os.path.realpath(os.path.join(f, "..", "..", "src"))
 
 if path not in sys.path:
-    sys.path.append(path)
+    sys.path.insert(0, path)
ensure code from src dir is used