[py-svn] r33021 - py/dist/py/code
arigo at codespeak.net
arigo at codespeak.net
Sun Oct 8 23:12:12 CEST 2006
Author: arigo
Date: Sun Oct 8 23:12:09 2006
New Revision: 33021
Modified:
py/dist/py/code/traceback2.py
Log:
Did not realize that this method was also added in the meantime (at a
different location, so no conflict). I'm keeping my commit because it
also adds a delegation from getsource() to getfirstlinesource().
Modified: py/dist/py/code/traceback2.py
==============================================================================
--- py/dist/py/code/traceback2.py (original)
+++ py/dist/py/code/traceback2.py Sun Oct 8 23:12:09 2006
@@ -56,10 +56,6 @@
break
return source[start:end]
- def getfirstlinesource(self):
- start = self.frame.code.firstlineno
- return start
-
def ishidden(self):
try:
return self.frame.eval("__tracebackhide__")
More information about the pytest-commit
mailing list