[py-svn] r7984 - py/dist/py/test
arigo at codespeak.net
arigo at codespeak.net
Fri Dec 24 16:53:15 CET 2004
Author: arigo
Date: Fri Dec 24 16:53:14 2004
New Revision: 7984
Modified:
py/dist/py/test/collect.py
Log:
Obvious bug.
Modified: py/dist/py/test/collect.py
==============================================================================
--- py/dist/py/test/collect.py (original)
+++ py/dist/py/test/collect.py Fri Dec 24 16:53:14 2004
@@ -25,7 +25,7 @@
def __repr__(self):
tb = list(self.excinfo)[-1]
- return '<collect.Error in %r, line %d>' % (tb.code.path,
+ return '<collect.Error in %r, line %d>' % (tb.frame.code.path,
tb.lineno+1)
class Collector(object):
More information about the pytest-commit
mailing list