diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/main.py b/tests/main.py index 509724ed7..779445d81 100755 --- a/tests/main.py +++ b/tests/main.py @@ -10,7 +10,7 @@ from __future__ import print_function import sys import os -base_dir = os.path.dirname(os.path.abspath(__name__)) +base_dir = os.path.dirname(os.path.abspath(__file__)) ext_path = os.path.join(base_dir, os.pardir, 'ext') sys.path.insert(0, base_dir) |