*Not documented*
def getsortvalue(self):
origin: test.collect.Class
where:
changes in __dict__ after execution:
function source:
def getsortvalue(self):
try:
for key, val in self.obj.__dict__.iteritems():
import types
if type(val) is (types.FunctionType, types.GeneratorType):
return val.func_code.co_firstlineno
except AttributeError:
pass
# fall back...
for x in self.tryiter((py.test.collect.Generator, py.test.Item)):
return x.getsortvalue()
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Class.getsortvalue.0
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Class.getsortvalue.1
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Class.getsortvalue.2
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Class.getsortvalue.3
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Class.getsortvalue.4
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Class.getsortvalue.5
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Class.getsortvalue.6
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Class.getsortvalue.7
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Class.getsortvalue.8
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Class.getsortvalue.9
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Class.getsortvalue.10
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Class.getsortvalue.11
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Class.getsortvalue.12
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Class.getsortvalue.13
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Class.getsortvalue.14
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py
traceback test.collect.Class.getsortvalue.15
called in /home/johnny/projects/merlinux/py/dist/py/test/collect.py