diff options
-rw-r--r-- | tests/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/__init__.py b/tests/__init__.py index 8d4ea9f0c..4ac94383f 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -35,7 +35,7 @@ def getTests( path, base_path ): import os files = os.listdir( path ) files = [ f[:-3] for f in files if f.startswith("test_") and f.endswith(".py") ] - parent_path = path[len(base_path):] + parent_path = path[len(base_path)+1:] parent_module = ".".join(("tests", parent_path)) result = [] for mymodule in files: |