[svn r57762] * settle on using suptest for supporting test runs

* fix a bug in getmodpath
* remove redundant functions/files

--HG--
branch : trunk
This commit is contained in:
hpk
2008-09-02 16:31:42 +02:00
parent 7518dcabc2
commit 9eb1d55380
11 changed files with 65 additions and 278 deletions

View File

@@ -64,22 +64,6 @@ class BaseReporter(object):
l.append((len(events),) + key)
return l
def getmodpath(pycolitem):
""" return dotted module path for the given colitem. """
colitems = pycolitem.listchain()
while colitems:
colitem = colitems.pop(0)
if isinstance(colitem, colitem.Module):
parts = [colitem.obj.__name__]
for colitem in colitems:
if colitem.name[0] in '([':
parts[-1] += colitem.name
else:
parts.append(colitem.name)
return ".".join(parts)
return colitem.name
def repr_pythonversion(v=None):
if v is None:
v = sys.version_info