make tmpdir fixture always return a realpath()ed tmpdir and make a note

about it in the changed test.  Currently, i don't see a reason why this
is a bad idea (tm)
This commit is contained in:
holger krekel
2012-10-11 13:05:16 +02:00
parent 0594265adc
commit 6eec2f5893
4 changed files with 12 additions and 5 deletions

View File

@@ -40,7 +40,7 @@ class TempdirHandler:
basetemp.mkdir()
else:
basetemp = py.path.local.make_numbered_dir(prefix='pytest-')
self._basetemp = t = basetemp
self._basetemp = t = basetemp.realpath()
self.trace("new basetemp", t)
return t