[pypy-svn] rev 2403 - pypy/trunk/src/pypy/tool
sschwarzer at codespeak.net
sschwarzer at codespeak.net
Tue Dec 16 18:16:22 CET 2003
Author: sschwarzer
Date: Tue Dec 16 18:16:22 2003
New Revision: 2403
Modified:
pypy/trunk/src/pypy/tool/test.py
Log:
Added comment on private method in CtsTestRunner.__methodname.
Modified: pypy/trunk/src/pypy/tool/test.py
==============================================================================
--- pypy/trunk/src/pypy/tool/test.py (original)
+++ pypy/trunk/src/pypy/tool/test.py Tue Dec 16 18:16:22 2003
@@ -148,7 +148,8 @@
class CtsTestRunner:
def __methodname(self, result):
- """Return a normalized form of the method name for result."""
+ "Return a normalized form of the method name for result."
+ # use private method, id() is not enough for us
return "%s.%s" % (result.__class__.__name__,
result._TestCase__testMethodName)
@@ -283,6 +284,7 @@
spacename = ''
individualtime = 0
interactive = 0
+ #XXX what's the purpose of this?
def ensure_value(*args):
return 0
ensure_value = staticmethod(ensure_value)
More information about the Pypy-commit
mailing list