From db3916b84d825457c4866fb63c4c396b11d109cb Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 11 Jan 2007 06:18:50 +0000 Subject: Remove / character from module names. svn path=/main/trunk/; revision=5541 --- tests/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3-1-g7c22