summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-01-11 06:18:50 +0000
committerZac Medico <zmedico@gentoo.org>2007-01-11 06:18:50 +0000
commitdb3916b84d825457c4866fb63c4c396b11d109cb (patch)
tree927d74bb3f046fef0ee4567fd180dd20e6d84900
parent5a0d4200f3062d35ffd8828eec65ef8695ee8619 (diff)
downloadportage-db3916b84d825457c4866fb63c4c396b11d109cb.tar.gz
portage-db3916b84d825457c4866fb63c4c396b11d109cb.tar.bz2
portage-db3916b84d825457c4866fb63c4c396b11d109cb.zip
Remove / character from module names.
svn path=/main/trunk/; revision=5541
-rw-r--r--tests/__init__.py2
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: