read and return a bytestring from reading the path.
def read(self, mode='rb'):
origin: FSPathBase
where:
exceptions that might appear during execution:
function source:
def read(self, mode='rb'):
""" read and return a bytestring from reading the path. """
if py.std.sys.version_info < (2,3):
for x in 'u', 'U':
if x in mode:
mode = mode.replace(x, '')
f = self.open(mode)
try:
return f.read()
finally:
f.close()
called in /home/johnny/projects/merlinux/py/dist/py/code/code.py
called in /home/johnny/projects/merlinux/py/dist/py/code/code.py
called in /home/johnny/projects/merlinux/py/dist/py/code/code.py
called in /home/johnny/projects/merlinux/py/dist/py/code/code.py
called in /home/johnny/projects/merlinux/py/dist/py/documentation/conftest.py
called in /home/johnny/projects/merlinux/py/dist/py/code/code.py
called in /home/johnny/projects/merlinux/py/dist/py/apigen/rest/testing/test_rest.py
called in /home/johnny/projects/merlinux/py/dist/py/code/code.py
called in /home/johnny/projects/merlinux/py/dist/py/code/code.py
called in /home/johnny/projects/merlinux/py/dist/py/code/code.py
called in /home/johnny/projects/merlinux/py/dist/py/code/code.py
called in /home/johnny/projects/merlinux/py/dist/py/code/code.py
called in /home/johnny/projects/merlinux/py/dist/py/code/code.py
called in /home/johnny/projects/merlinux/py/dist/py/code/code.py
called in /home/johnny/projects/merlinux/py/dist/py/code/code.py
called in /home/johnny/projects/merlinux/py/dist/py/apigen/rest/testing/test_rest.py
called in /home/johnny/projects/merlinux/py/dist/py/apigen/rest/testing/test_rest.py
called in /home/johnny/projects/merlinux/py/dist/py/code/code.py
called in /home/johnny/projects/merlinux/py/dist/py/code/code.py
called in /home/johnny/projects/merlinux/py/dist/py/apigen/rest/testing/test_rest.py
called in /home/johnny/projects/merlinux/py/dist/py/apigen/rest/testing/test_rest.py