- fix issue119 / pytest issue708 where tmpdir may fail to make numbered directories when the filesystem is case-insensitive.
Packaging:
- remove check section as it doesn't do anything atm
Signed-off-by: Pierre-Yves <pyu@riseup.net>
Differential D1070
Update py to 1.4.34 Authored by kyrios123 on Sep 23 2017, 6:28 PM. Tags Referenced Files
Details
Packaging:
Signed-off-by: Pierre-Yves <pyu@riseup.net> >>> import py
>>> temppath = py.path.local('py.path_documentation')
>>> foopath = temppath.join('foo') # get child 'foo' (lazily)
>>> foopath.check() # check if child 'foo' exists
False
>>> foopath.write('bar') # write some data to it
>>> foopath.check()
True
>>> foopath.read()
'bar'
>>> foofile = foopath.open() # return a 'real' file object
>>> foofile.read(1)
'b'
>>> quit()
Diff Detail
Event Timeline |